(self)
| 237 | """A cycle made from recursive function calls.""" |
| 238 | |
| 239 | def __init__(self): |
| 240 | Object.__init__(self) |
| 241 | # XXX: Do cycles need an id? |
| 242 | self.functions = set() |
| 243 | |
| 244 | def add_function(self, function): |
| 245 | assert function not in self.functions |