Trees | Indices | Help |
|
---|
|
Define names for all type symbols known in the standard interpreter.
Types that are part of optional modules (e.g. array) are not listed.
|
|||
BooleanType bool(x) -> bool |
|||
BufferType buffer(object [, offset[, size]]) |
|||
BuiltinFunctionType | |||
BuiltinMethodType | |||
ClassType classobj(name, bases, dict) |
|||
CodeType code(argcount, nlocals, stacksize, flags, codestring, constants, names, varnames, filename, name, firstlineno, lnotab[, freevars[, cellvars]]) |
|||
ComplexType complex(real[, imag]) -> complex number |
|||
DictProxyType | |||
DictType dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. |
|||
DictionaryType dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. |
|||
EllipsisType | |||
FileType file(name[, mode[, buffering]]) -> file object |
|||
FloatType float(x) -> floating point number |
|||
FrameType | |||
FunctionType function(code, globals[, name[, argdefs[, closure]]]) |
|||
GeneratorType | |||
GetSetDescriptorType | |||
InstanceType instance(class[, dict]) |
|||
IntType int(x=0) -> int or long int(x, base=10) -> int or long |
|||
LambdaType function(code, globals[, name[, argdefs[, closure]]]) |
|||
ListType list() -> new empty list list(iterable) -> new list initialized from iterable's items |
|||
LongType long(x=0) -> long long(x, base=10) -> long |
|||
MemberDescriptorType | |||
MethodType instancemethod(function, instance, class) |
|||
ModuleType module(name[, doc]) |
|||
NoneType | |||
NotImplementedType | |||
ObjectType The most base type |
|||
SliceType slice(stop) slice(start, stop[, step]) |
|||
StringType str(object='') -> string |
|||
TracebackType | |||
TupleType tuple() -> empty tuple tuple(iterable) -> tuple initialized from iterable's items |
|||
TypeType type(object) -> the object's type type(name, bases, dict) -> a new type |
|||
UnboundMethodType instancemethod(function, instance, class) |
|||
UnicodeType unicode(object='') -> unicode object unicode(string[, encoding[, errors]]) -> unicode object |
|||
XRangeType xrange(stop) -> xrange object xrange(start, stop[, step]) -> xrange object |
|
|||
StringTypes =
|
|||
__package__ = None hash(x) |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Sep 25 20:04:08 2019 | http://epydoc.sourceforge.net |