Convert a string or number to an integer, if possible. A floating
point argument will be truncated towards zero (this does not include a
string representation of a floating point number!) When converting a
string, use the optional base. It is an error to supply a base when
converting a non-string. If the argument is outside the integer range a
long object will be returned instead.
|
|
|
|
|
|
|
|
|
__coerce__(x,
y)
coerce(x, y) |
|
|
|
|
|
__divmod__(x,
y)
divmod(x, y) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__index__(...)
x[y:z] <==> x[y.__index__():z.__index__()] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
|
|
|
__pow__(x,
y,
z=...)
pow(x, y[, z]) |
|
|
|
|
|
|
|
|
|
__rdivmod__(x,
y)
divmod(y, x) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__rpow__(y,
x,
z=...)
pow(x, y[, z]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|