• Home
  • History
  • Annotate
  • only in /external/python/cpython2/Demo/classes/
NameDateSize

..10-Aug-20184 KiB

bitvec.py10-Aug-201810.2 KiB

Complex.py10-Aug-20189.7 KiB

Dates.py10-Aug-20187.6 KiB

Dbm.py10-Aug-20181.5 KiB

Range.py10-Aug-20183.1 KiB

README10-Aug-2018522

Rev.py10-Aug-20182 KiB

Vec.py10-Aug-20181.3 KiB

README

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