Skip to Main Content
The Definitive Guide to Jython: Python for the Java™ Platform
book

The Definitive Guide to Jython: Python for the Java™ Platform

by Josh Juneau, Jim Baker, Victor Ng, Leo Soto, Frank Wierzbicki
March 2010
Beginner to intermediate content levelBeginner to intermediate
544 pages
13h 28m
English
Apress
Content preview from The Definitive Guide to Jython: Python for the Java™ Platform

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython

Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython

Richard Hightower
Jython Essentials

Jython Essentials

Samuele Pedroni, Noel Rappin

Publisher Resources

ISBN: 9781430225270Purchase book