Show More
@@ -167,6 +167,8 b' resulting magic::' | |||||
167 | def foo(...) |
|
167 | def foo(...) | |
168 |
|
168 | |||
169 | will create a {1} magic named `bar`. |
|
169 | will create a {1} magic named `bar`. | |
|
170 | ||||
|
171 | To register a class magic use ``Interactiveshell.register_magic(class or instance)``. | |||
170 | """ |
|
172 | """ | |
171 |
|
173 | |||
172 | # These two are decorator factories. While they are conceptually very similar, |
|
174 | # These two are decorator factories. While they are conceptually very similar, |
General Comments 0
You need to be logged in to leave comments.
Login now