Appendix C. Built-in Functions

Much of this appendix was taken from the Python Documentation Set, which can be found at The Python Documentation is Copyright 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; all rights reserved. More information can be found at 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

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 ...

Get The Definitive Guide to Jython: Python for the Java™ Platform now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.