3.2. The standard type hierarchy¶
None
NotImplemented
Ellipsis
Integers (int
)
Booleans (bool
)
Sequences
Immutable sequences
Strings
Tuples
Bytes
Mutable sequences
Lists
Byte Arrays
Set types
Sets
Frozen sets
Mappings
Dictionaries
Callable types
User-defined functions
Instance methods
Generator functions
Coroutine functions
Asynchronous generator functions
Built-in functions
Built-in methods
Classes
Class Instances
Modules
Custom classes
Class instances
I/O objects (also known as file objects)
Internal types
Code objects
Frame objects
Traceback objects
Slice objects
Static method objects
Class method objects