Docs for request.body.softspace

[ Python Tutorial ] [ Python Libraries ] [ web2py epydoc ]

Description


<type 'int'>















int(x=0) -> int or long
int(x, base=10) -> int or long

Convert a number or string to an integer, or return 0 if no arguments
are given. If x is floating point, the conversion truncates towards zero.
If x is outside the integer range, the function returns a long instead.

If x is not a number or if base is given, then x must be a string or
Unicode object representing an integer literal in the given base. The
literal can be preceded by '+' or '-' and be surrounded by whitespace.
The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to
interpret the base from the string as an integer literal.
>>>
int('0b100', base=0)
4


Attributes


request.body.softspace.__abs__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__abs__() <==> abs(x)

request.body.softspace.__add__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__add__(y) <==> x+y

request.body.softspace.__and__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__and__(y) <==> x&y

request.body.softspace.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

request.body.softspace.__cmp__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__cmp__(y) <==> cmp(x,y)

request.body.softspace.__coerce__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__coerce__(y) <==> coerce(x, y)

request.body.softspace.__delattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name

request.body.softspace.__div__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__div__(y) <==> x/y

request.body.softspace.__divmod__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__divmod__(y) <==> divmod(x, y)

request.body.softspace.__doc__ <type 'str'> belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

request.body.softspace.__float__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__float__() <==> float(x)

request.body.softspace.__floordiv__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__floordiv__(y) <==> x//y

request.body.softspace.__format__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>

request.body.softspace.__getattribute__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name

request.body.softspace.__getnewargs__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>

request.body.softspace.__hash__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__hash__() <==> hash(x)

request.body.softspace.__hex__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__hex__() <==> hex(x)

request.body.softspace.__index__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x[y:z] <==> x[y.__index__():z.__index__()]

request.body.softspace.__init__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__init__(...) initializes x; see help(type(x)) for signature

request.body.softspace.__int__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__int__() <==> int(x)

request.body.softspace.__invert__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__invert__() <==> ~x

request.body.softspace.__long__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__long__() <==> long(x)

request.body.softspace.__lshift__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__lshift__(y) <==> x<<y

request.body.softspace.__mod__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__mod__(y) <==> x%y

request.body.softspace.__mul__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__mul__(y) <==> x*y

request.body.softspace.__neg__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__neg__() <==> -x

request.body.softspace.__new__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T

request.body.softspace.__nonzero__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__nonzero__() <==> x != 0

request.body.softspace.__oct__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__oct__() <==> oct(x)

request.body.softspace.__or__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__or__(y) <==> x|y

request.body.softspace.__pos__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__pos__() <==> +x

request.body.softspace.__pow__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__pow__(y[, z]) <==> pow(x, y[, z])

request.body.softspace.__radd__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__radd__(y) <==> y+x

request.body.softspace.__rand__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rand__(y) <==> y&x

request.body.softspace.__rdiv__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rdiv__(y) <==> y/x

request.body.softspace.__rdivmod__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rdivmod__(y) <==> divmod(y, x)

request.body.softspace.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

request.body.softspace.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

request.body.softspace.__repr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x)

request.body.softspace.__rfloordiv__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rfloordiv__(y) <==> y//x

request.body.softspace.__rlshift__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rlshift__(y) <==> y<<x

request.body.softspace.__rmod__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rmod__(y) <==> y%x

request.body.softspace.__rmul__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rmul__(y) <==> y*x

request.body.softspace.__ror__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__ror__(y) <==> y|x

request.body.softspace.__rpow__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
y.__rpow__(x[, z]) <==> pow(x, y[, z])

request.body.softspace.__rrshift__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rrshift__(y) <==> y>>x

request.body.softspace.__rshift__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rshift__(y) <==> x>>y

request.body.softspace.__rsub__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rsub__(y) <==> y-x

request.body.softspace.__rtruediv__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rtruediv__(y) <==> y/x

request.body.softspace.__rxor__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__rxor__(y) <==> y^x

request.body.softspace.__setattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value

request.body.softspace.__sizeof__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
__sizeof__() -> int size of object in memory, in bytes

request.body.softspace.__str__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x)

request.body.softspace.__sub__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__sub__(y) <==> x-y

request.body.softspace.__subclasshook__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
Abstract classes can override this to customize issubclass(). This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

request.body.softspace.__truediv__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__truediv__(y) <==> x/y

request.body.softspace.__trunc__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
Truncating an Integral returns itself.

request.body.softspace.__xor__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__xor__(y) <==> x^y

request.body.softspace.bit_length <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
int.bit_length() -> int Number of bits necessary to represent self in binary. >>> bin(37) '0b100101' >>> (37).bit_length() 6

request.body.softspace.conjugate <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
Returns self, the complex conjugate of any int.

request.body.softspace.denominator <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

request.body.softspace.imag <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

request.body.softspace.numerator <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4

request.body.softspace.real <type 'int'> belongs to class <type 'int'>
int(x=0) -> int or long int(x, base=10) -> int or long Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead. If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal. >>> int('0b100', base=0) 4