Create a copy of the current one.
(self)
| 163 | self.buffer = parent.buffer |
| 164 | |
| 165 | def copy(self): |
| 166 | """Create a copy of the current one.""" |
| 167 | rv = object.__new__(self.__class__) |
| 168 | rv.__dict__.update(self.__dict__) |
| 169 | rv.symbols = self.symbols.copy() |
| 170 | return rv |
| 171 | |
| 172 | def inner(self, isolated=False): |
| 173 | """Return an inner frame.""" |