(self, o)
| 37 | self._object = None |
| 38 | |
| 39 | def capture(self, o): |
| 40 | if self._object: |
| 41 | raise RuntimeError( |
| 42 | 'InternalError: _CapturedObject can capture only once. Please file ' |
| 43 | 'bug.') |
| 44 | |
| 45 | self._object = o |
| 46 | |
| 47 | def get(self): |
| 48 | return self._object |
no outgoing calls
no test coverage detected