Staging
v0.8.1
https://github.com/python/cpython
Revision c707893f9cee870bba8364b3a06eb9cfa3b80e58 authored by Benjamin Peterson on 26 August 2017, 18:18:30 UTC, committed by Benjamin Peterson on 26 August 2017, 18:18:30 UTC
1 parent 48455e2
Raw File
Tip revision: c707893f9cee870bba8364b3a06eb9cfa3b80e58 authored by Benjamin Peterson on 26 August 2017, 18:18:30 UTC
version bumps for 2.7.14rc1
Tip revision: c707893
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.)
back to top