[ Web Proxy ]
URL:
Viewing: https://wiki.python.org/moin/../python/platforms/../database/../archive/NewClassVsClassicClass.html [Back]  [Original]

New Class vs Classic Class - Python Wiki
Python Wiki
psf/wiki 0 0
Copy page

New Class vs Classic Class

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

A New Class inherits from object. It is the only way to create a class in Python 3.

A Classic Class or old-style class is a class as it existed in Python 2.1 and before. They were retained through Python 2.7 for backwards compatibility, and were removed in Python 3. For more information on the differences, please see previous versions of this page.


CategoryDocumentation

Back to top

Web Proxy Viewer  |  New URL  |  Original Page