Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd2b35 commit 1c4cf90Copy full SHA for 1c4cf90
1 file changed
IPython/core/magic.py
@@ -644,7 +644,8 @@ def __init__(
644
class_magics = self.magics
645
self.magics = {}
646
for mtype in magic_kinds:
647
- tab: dict[str, Any] = self.magics[mtype] = {}
+ self.magics[mtype] = {}
648
+ tab: dict[str, Any] = self.magics[mtype]
649
cls_tab: dict[str, Any] = class_magics[mtype]
650
for magic_name, meth_name in cls_tab.items():
651
if isinstance(meth_name, str):
0 commit comments