Docs for ON.__getattribute__.__objclass__

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

Description


<type 'type'> extends (<type 'object'>,)















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


ON.__getattribute__.__objclass__.__abs__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__abs__() <==> abs(x)

ON.__getattribute__.__objclass__.__add__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__add__(y) <==> x+y

ON.__getattribute__.__objclass__.__and__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__and__(y) <==> x&y

ON.__getattribute__.__objclass__.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
type(object) -> the object's type type(name, bases, dict) -> a new type

ON.__getattribute__.__objclass__.__cmp__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__cmp__(y) <==> cmp(x,y)

ON.__getattribute__.__objclass__.__coerce__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__coerce__(y) <==> coerce(x, y)

ON.__getattribute__.__objclass__.__delattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__delattr__('name') <==> del x.name

ON.__getattribute__.__objclass__.__div__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__div__(y) <==> x/y

ON.__getattribute__.__objclass__.__divmod__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__divmod__(y) <==> divmod(x, y)

ON.__getattribute__.__objclass__.__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.

ON.__getattribute__.__objclass__.__float__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__float__() <==> float(x)

ON.__getattribute__.__objclass__.__floordiv__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__floordiv__(y) <==> x//y

ON.__getattribute__.__objclass__.__format__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

ON.__getattribute__.__objclass__.__getattribute__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__getattribute__('name') <==> x.name

ON.__getattribute__.__objclass__.__getnewargs__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

ON.__getattribute__.__objclass__.__hash__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__hash__() <==> hash(x)

ON.__getattribute__.__objclass__.__hex__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__hex__() <==> hex(x)

ON.__getattribute__.__objclass__.__index__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x[y:z] <==> x[y.__index__():z.__index__()]

ON.__getattribute__.__objclass__.__init__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__init__(...) initializes x; see help(type(x)) for signature

ON.__getattribute__.__objclass__.__int__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__int__() <==> int(x)

ON.__getattribute__.__objclass__.__invert__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__invert__() <==> ~x

ON.__getattribute__.__objclass__.__long__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__long__() <==> long(x)

ON.__getattribute__.__objclass__.__lshift__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__lshift__(y) <==> x<<y

ON.__getattribute__.__objclass__.__mod__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__mod__(y) <==> x%y

ON.__getattribute__.__objclass__.__mul__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__mul__(y) <==> x*y

ON.__getattribute__.__objclass__.__neg__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__neg__() <==> -x

ON.__getattribute__.__objclass__.__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

ON.__getattribute__.__objclass__.__nonzero__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__nonzero__() <==> x != 0

ON.__getattribute__.__objclass__.__oct__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__oct__() <==> oct(x)

ON.__getattribute__.__objclass__.__or__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__or__(y) <==> x|y

ON.__getattribute__.__objclass__.__pos__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__pos__() <==> +x

ON.__getattribute__.__objclass__.__pow__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__pow__(y[, z]) <==> pow(x, y[, z])

ON.__getattribute__.__objclass__.__radd__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__radd__(y) <==> y+x

ON.__getattribute__.__objclass__.__rand__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rand__(y) <==> y&x

ON.__getattribute__.__objclass__.__rdiv__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rdiv__(y) <==> y/x

ON.__getattribute__.__objclass__.__rdivmod__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rdivmod__(y) <==> divmod(y, x)

ON.__getattribute__.__objclass__.__reduce__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
helper for pickle

ON.__getattribute__.__objclass__.__reduce_ex__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
helper for pickle

ON.__getattribute__.__objclass__.__repr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__repr__() <==> repr(x)

ON.__getattribute__.__objclass__.__rfloordiv__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rfloordiv__(y) <==> y//x

ON.__getattribute__.__objclass__.__rlshift__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rlshift__(y) <==> y<<x

ON.__getattribute__.__objclass__.__rmod__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rmod__(y) <==> y%x

ON.__getattribute__.__objclass__.__rmul__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rmul__(y) <==> y*x

ON.__getattribute__.__objclass__.__ror__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__ror__(y) <==> y|x

ON.__getattribute__.__objclass__.__rpow__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
y.__rpow__(x[, z]) <==> pow(x, y[, z])

ON.__getattribute__.__objclass__.__rrshift__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rrshift__(y) <==> y>>x

ON.__getattribute__.__objclass__.__rshift__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rshift__(y) <==> x>>y

ON.__getattribute__.__objclass__.__rsub__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rsub__(y) <==> y-x

ON.__getattribute__.__objclass__.__rtruediv__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rtruediv__(y) <==> y/x

ON.__getattribute__.__objclass__.__rxor__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__rxor__(y) <==> y^x

ON.__getattribute__.__objclass__.__setattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__setattr__('name', value) <==> x.name = value

ON.__getattribute__.__objclass__.__sizeof__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
__sizeof__() -> int size of object in memory, in bytes

ON.__getattribute__.__objclass__.__str__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__str__() <==> str(x)

ON.__getattribute__.__objclass__.__sub__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__sub__(y) <==> x-y

ON.__getattribute__.__objclass__.__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).

ON.__getattribute__.__objclass__.__truediv__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__truediv__(y) <==> x/y

ON.__getattribute__.__objclass__.__trunc__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
Truncating an Integral returns itself.

ON.__getattribute__.__objclass__.__xor__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__xor__(y) <==> x^y

ON.__getattribute__.__objclass__.bit_length <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
int.bit_length() -> int Number of bits necessary to represent self in binary. >>> bin(37) '0b100101' >>> (37).bit_length() 6

ON.__getattribute__.__objclass__.conjugate <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
Returns self, the complex conjugate of any int.

ON.__getattribute__.__objclass__.denominator <type 'getset_descriptor'> belongs to class <type 'getset_descriptor'>
the denominator of a rational number in lowest terms

ON.__getattribute__.__objclass__.imag <type 'getset_descriptor'> belongs to class <type 'getset_descriptor'>
the imaginary part of a complex number

ON.__getattribute__.__objclass__.numerator <type 'getset_descriptor'> belongs to class <type 'getset_descriptor'>
the numerator of a rational number in lowest terms

ON.__getattribute__.__objclass__.real <type 'getset_descriptor'> belongs to class <type 'getset_descriptor'>
the real part of a complex number