(self)
| 826 | |
| 827 | |
| 828 | def init_builtins(self): |
| 829 | # A single, static flag that we set to True. Its presence indicates |
| 830 | # that an IPython shell has been created, and we make no attempts at |
| 831 | # removing on exit or representing the existence of more than one |
| 832 | # IPython at a time. |
| 833 | builtin_mod.__dict__['__IPYTHON__'] = True |
| 834 | builtin_mod.__dict__['display'] = display |
| 835 | |
| 836 | self.builtin_trap = BuiltinTrap(shell=self) |
| 837 | |
| 838 | @observe('colors') |
| 839 | def init_inspector(self, changes=None): |