cpython/Demo/classes
Mark Dickinson c7d484de9b Remove __long__ methods from UserString and from Demo/ classes. 2009-01-11 11:54:02 +00:00
..
Complex.py Remove __long__ methods from UserString and from Demo/ classes. 2009-01-11 11:54:02 +00:00
Dates.py Merged revisions 66394,66404,66412,66414,66424-66436 via svnmerge from 2008-09-13 15:58:53 +00:00
Dbm.py Create the dbm package from PEP 3108. #2881. 2008-05-26 10:29:35 +00:00
README Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60706,60708-60712,60714-60724 via svnmerge from 2008-02-11 06:19:17 +00:00
Range.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
Rev.py
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 __long__ methods from UserString and from Demo/ classes. 2009-01-11 11:54:02 +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()
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.)