Skip to content

Commit 6741bbf

Browse files
committed
register magic modes for lazy imported interfaces
1 parent f449b14 commit 6741bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/repl/interface_magic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def all_iter(cls):
9797
except ImportError:
9898
return
9999
for name, obj in sage.interfaces.all.__dict__.items():
100-
if isinstance(obj, sage.interfaces.interface.Interface):
100+
if isinstance(obj, (sage.interfaces.interface.Interface, sage.misc.lazy_import.LazyImport)):
101101
yield cls(name, obj)
102102

103103
@classmethod

0 commit comments

Comments
 (0)