source: trunk/essentials/dev-lang/python/Demo/classes/README

Last change on this file was 3225, checked in by bird, 18 years ago

Python 2.5

File size: 547 bytes
Line 
1Examples of classes that implement special operators (see reference manual):
2
3Complex.py Complex numbers
4Dates.py Date manipulation package by Tim Peters
5Dbm.py Wrapper around built-in dbm, supporting arbitrary values
6Range.py Example of a generator: re-implement built-in range()
7Rat.py Rational numbers
8Rev.py Yield the reverse of a sequence
9Vec.py A simple vector class
10bitvec.py A bit-vector class by Jan-Hein B\"uhrman
11
12(For straightforward examples of basic class features, such as use of
13methods and inheritance, see the library code.)
Note: See TracBrowser for help on using the repository browser.