cpython/Demo/classes
Neil Schemenauer 16c7075164 Remove more cruft leftover from nb_coerce. Rename nb_coerce to
nb_reserved.
2007-09-21 20:19:23 +00:00
..
Complex.py Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
Dates.py Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
Dbm.py remove most uses of list(somedict.keys()) in Demo scripts 2007-08-06 21:07:53 +00:00
README Update docs. Remove old classes.doc. 2002-10-18 15:40:13 +00:00
Range.py Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
Rat.py Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
Rev.py SF patch #803449: modernize demo scripts 2003-09-10 21:12:59 +00:00
Vec.py Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
bitvec.py Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00

README

Examples of classes that implement special operators (see reference manual):

Complex.py	Complex numbers
Dates.py	Date manipulation package by Tim Peters
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
Rev.py		Yield the reverse of a sequence
Vec.py		A simple vector class
bitvec.py	A bit-vector class by Jan-Hein B\"uhrman

(For straightforward examples of basic class features, such as use of
methods and inheritance, see the library code.)