| Line | |
|---|
| 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 | Rat.py Rational numbers
|
|---|
| 8 | Rev.py Yield the reverse of a sequence
|
|---|
| 9 | Vec.py A simple vector class
|
|---|
| 10 | bitvec.py A bit-vector class by Jan-Hein B\"uhrman
|
|---|
| 11 |
|
|---|
| 12 | (For straightforward examples of basic class features, such as use of
|
|---|
| 13 | methods and inheritance, see the library code.)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.