##// END OF EJS Templates
Create class for user-defined magics.
Fernando Perez -
Show More
@@ -282,6 +282,15 b' class MagicFunctions(object):'
282 self.options_table[fn] = optstr
282 self.options_table[fn] = optstr
283
283
284
284
285 class UserMagics(MagicFunctions):
286 """Placeholder for user-defined magics to be added at runtime.
287
288 All magics are eventually merged into a single namespace at runtime, but we
289 use this class to isolate the magics defined dynamically by the user into
290 their own class.
291 """
292
293
285 class BasicMagics(MagicFunctions):
294 class BasicMagics(MagicFunctions):
286 """Magics that provide central IPython functionality.
295 """Magics that provide central IPython functionality.
287
296
General Comments 0
You need to be logged in to leave comments. Login now