Home | History | Annotate | only in /external/python/cpython2/Demo/classes
Up to higher level directory
NameDateSize
bitvec.py06-Dec-201710.2K
Complex.py06-Dec-20179.7K
Dates.py06-Dec-20177.6K
Dbm.py06-Dec-20171.5K
Range.py06-Dec-20173.1K
README06-Dec-2017522
Rev.py06-Dec-20172K
Vec.py06-Dec-20171.3K

README

      1 Examples of classes that implement special operators (see reference manual):
      2 
      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 Rev.py		Yield the reverse of a sequence
      8 Vec.py		A simple vector class
      9 bitvec.py	A bit-vector class by Jan-Hein B\"uhrman
     10 
     11 (For straightforward examples of basic class features, such as use of
     12 methods and inheritance, see the library code.)
     13