Python Types and Objects

Shalabh Chaturvedi

All Rights Reserved.

About This Book

Explains Python new-style objects:

  • what are <type 'type'> and <type 'object'>

  • how user defined classes and instances are related to each other and to built-in types

  • what are metaclasses

New-style implies Python version 2.2 and upto and including 3.x. There have been some behavioral changes during these version but all the concepts covered here are valid. The system described is sometimes called the Python type system, or the object model.

This book is part of a series:

  1. Python Types and Objects [you are here]

  2. Python Attributes and Methods

This revision:
Discuss | Latest version | Cover page
Author: [email protected]


Feedback

Comment on this book here: discussion page. I appreciate feedback!