O'Reilly logo

The Definitive Guide to Jython: Python for the Java™ Platform by Frank Wierzbicki, Leo Soto, Victor Ng, Jim Baker, Josh Juneau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Built-in Functions

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

Constructor functions are used to create objects of a given type.

Note

In Python, a type and its constructor function are the same thing. So you can use the type function, which we will discuss ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required