object --+
|
long
long(x[, base]) -> integer
Convert a string or number to a long 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.
|
|
|
|
|
|
|
|
|
__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]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x.__getattribute__('name') <==> x.name
- Overrides:
object.__getattribute__
|
__hash__(x)
(Hashing function)
|
|
hash(x)
- Overrides:
object.__hash__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|
__str__(x)
(Informal representation operator)
|
|
str(x)
- Overrides:
object.__str__
|