|  |  | 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 New-style and classic classes
- 3.4 Special method names
  - 3.4.1 Basic customization
  - 3.4.2 Customizing attribute access
    - 3.4.2.1 More attribute access for new-style classes
    - 3.4.2.2 Implementing Descriptors
    - 3.4.2.3 Invoking Descriptors
    - 3.4.2.4 __slots__
  - 3.4.3 Customizing class creation
  - 3.4.4 Emulating callable objects
  - 3.4.5 Emulating container types
  - 3.4.6 Additional methods for emulation of sequence types
  - 3.4.7 Emulating numeric types
  - 3.4.8 Coercion rules
  - 3.4.9 With Statement Context Managers

|  |  | Python Reference Manual |  |  |

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

Release 2.5.3c1, documentation updated on 13th December, 2008.