Staging
v0.8.1
https://github.com/python/cpython
Revision d29eb6232cf7d71e5f5bffd70668b3e18835797a authored by cvs2svn on 29 July 1993, 13:14:32 UTC, committed by cvs2svn on 29 July 1993, 13:14:32 UTC
1 parent e906606
Raw File
Tip revision: d29eb6232cf7d71e5f5bffd70668b3e18835797a authored by cvs2svn on 29 July 1993, 13:14:32 UTC
This commit was manufactured by cvs2svn to create tag 'release099'.
Tip revision: d29eb62
README
Examples of classes that implement special operators (see class.doc):

Complex.py	Complex numbers
Dbm.py		Wrapper around built-in dbm, supporting	arbitrary values
Range.py	Example of a generator: re-implement built-in range()
Rat.py		Rational numbers
Vec.py		A simple vector class

(For straightforward examples of basic class features, such as use of
methods and inheritance, see the library code -- especially the window
modules are full of them.)
back to top