| 19 | |
| 20 | |
| 21 | class FCode(object): |
| 22 | def __init__(self, name, filename): |
| 23 | self.co_name = name |
| 24 | self.co_filename = filename |
| 25 | self.co_firstlineno = 1 |
| 26 | self.co_flags = 0 |
| 27 | |
| 28 | def co_lines(self): |
| 29 | return () |
| 30 | |
| 31 | |
| 32 | def add_exception_to_frame(frame, exception_info): |