| 9 | |
| 10 | # Class providing an __index__ method. |
| 11 | class MyIndexable(object): |
| 12 | def __init__(self, value): |
| 13 | self.value = value |
| 14 | |
| 15 | def __index__(self): |
| 16 | return self.value |
| 17 | |
| 18 | # Here's a pure Python version of the math.integer.factorial algorithm, for |
| 19 | # documentation and comparison purposes. |
no outgoing calls
searching dependent graphs…