|
Module __builtin__ ::
Class type
|
|
Type type
object --+
|
type
type(object) -> the object's type type(name, bases, dict) -> a
new type
| Method Summary |
| |
__call__(x,
...)
Return x(...)... |
| |
__cmp__(x,
y)
Return cmp(x,y)... |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
Return hash(x)... |
| |
__new__(T,
S,
...)
Return a new object with type S, a subtype of T... |
| |
__repr__(x)
Return repr(x)... |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| list of immediate subclasses |
__subclasses__()
|
| list |
mro()
return a type's method resolution order |
| Inherited from object |
| |
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__str__(x)
Return str(x)... |
| Property Summary |
| |
__base__ |
| |
__basicsize__ |
| |
__dictoffset__ |
| |
__flags__ |
| |
__itemsize__ |
| |
__mro__ |
| |
__weakrefoffset__ |
__call__(x,
...)
(Call operator)
-
- Returns:
-
x(...)
|
__cmp__(x,
y)
(Comparison operator)
-
- Returns:
-
cmp(x,y)
|
__new__(T,
S,
...)
(Instance creation method)
-
- Returns:
-
a new object with type S, a subtype of T
- Overrides:
__builtin__.object.__new__
|
__subclasses__()
-
- Returns:
-
list of immediate subclasses
|
mro()
return a type's method resolution order
-
- Returns:
-
list
|
__bases__
-
- Type:
-
tuple
- Value:
|
__name__
-
- Type:
-
str
- Value:
|