def register_interface_magics(self): """ Register magics for each of the Sage interfaces """ from sage.repl.interface_magic import InterfaceMagic InterfaceMagic.register_all(self.shell)