3. Data model

|  |  | Python Reference Manual |  |  |

Previous: 2.6 Delimiters Up: Python Reference Manual Next: 3.1 Objects, values and

#
3. Data model

Subsections

- 3.1 Objects, values and types
- 3.2 The standard type hierarchy
- 3.3 Special method names
  - 3.3.1 Basic customization
  - 3.3.2 Customizing attribute access
    - 3.3.2.1 More attribute access for new-style classes
    - 3.3.2.2 Implementing Descriptors
    - 3.3.2.3 Invoking Descriptors
    - 3.3.2.4 __slots__
  - 3.3.3 Customizing class creation
  - 3.3.4 Emulating callable objects
  - 3.3.5 Emulating container types
  - 3.3.6 Additional methods for emulation of sequence types
  - 3.3.7 Emulating numeric types
  - 3.3.8 Coercion rules

|  |  | Python Reference Manual |  |  |

Previous: 2.6 Delimiters Up: Python Reference Manual Next: 3.1 Objects, values and

Release 2.4.1, documentation updated on 30 March 2005.