Remove an added builtin and re-set the original.
(self, key, orig)
| 63 | bdict[key] = value |
| 64 | |
| 65 | def remove_builtin(self, key, orig): |
| 66 | """Remove an added builtin and re-set the original.""" |
| 67 | if orig is BuiltinUndefined: |
| 68 | del builtin_mod.__dict__[key] |
| 69 | else: |
| 70 | builtin_mod.__dict__[key] = orig |
| 71 | |
| 72 | def activate(self): |
| 73 | """Store ipython references in the __builtin__ namespace.""" |
nothing calls this directly
no outgoing calls
no test coverage detected