Minor fix for currentframe (SF #1652788).
[python.git] / Demo / classes / README
blob1d41f6af337bcdb69648b2ea8d9ff24d57e53950
1 Examples of classes that implement special operators (see reference manual):
3 Complex.py      Complex numbers
4 Dates.py        Date manipulation package by Tim Peters
5 Dbm.py          Wrapper around built-in dbm, supporting arbitrary values
6 Range.py        Example of a generator: re-implement built-in range()
7 Rat.py          Rational numbers
8 Rev.py          Yield the reverse of a sequence
9 Vec.py          A simple vector class
10 bitvec.py       A bit-vector class by Jan-Hein B\"uhrman
12 (For straightforward examples of basic class features, such as use of
13 methods and inheritance, see the library code.)