Much of this appendix was taken from the Python Documentation Set, which can be found at
www.python.org/doc/. The Python Documentation is Copyright 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; all rights reserved. More information can be found at
http://docs.python.org/copyright.html. Version references reflect both CPython and Jython releases. In cases where versions refer to 2.3 or 2.4, assume that these functions were implemented in Jython 2.5.0 because there was no Jython 2.3 or 2.4.
Constructor functions are used to create objects of a given type.
In Python, a type and its constructor function are the same thing. So you can use the
type function, which we will discuss ...