Home | History | Annotate | only in /external/python/cpython2/Demo/classes
Up to higher level directory
NameDateSize
bitvec.py22-Oct-202010.2K
Complex.py22-Oct-20209.7K
Dates.py22-Oct-20207.6K
Dbm.py22-Oct-20201.5K
Range.py22-Oct-20203.1K
README22-Oct-2020522
Rev.py22-Oct-20202K
Vec.py22-Oct-20201.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