Type Objects -- Python library reference



Next: The Null Object Prev: Code Objects Up: Other Built-in Types Top: Top

2.1.7.6. Type Objects

Type objects represent the various object types. An object's type is accessed by the built-in function type(). There are no special operations on types. The standard module types defines names for all standard built-in types. Types are written like this: <type 'int'>.



Next: The Null Object Prev: Code Objects Up: Other Built-in Types Top: Top