Find and return a magic of the given type by name. Returns None if the magic isn't found.
(self, magic_name, magic_kind='line')
| 2615 | return self.magics_manager.magics['cell'].get(magic_name) |
| 2616 | |
| 2617 | def find_magic(self, magic_name, magic_kind='line'): |
| 2618 | """Find and return a magic of the given type by name. |
| 2619 | |
| 2620 | Returns None if the magic isn't found.""" |
| 2621 | return self.magics_manager.magics[magic_kind].get(magic_name) |
| 2622 | |
| 2623 | #------------------------------------------------------------------------- |
| 2624 | # Things related to macros |
no test coverage detected