##// END OF EJS Templates
Minor bugfix: user_ns is not an attribute of Magic objects.
Corran Webster -
Show More
@@ -227,7 +227,7 b' IPython object:'
227 def lmagic(self, line):
227 def lmagic(self, line):
228 "my line magic"
228 "my line magic"
229 print "Full access to the main IPython object:", self.shell
229 print "Full access to the main IPython object:", self.shell
230 print "Variables in the user namespace:", self.user_ns.keys()
230 print "Variables in the user namespace:", self.shell.user_ns.keys()
231 return line
231 return line
232
232
233 @cell_magic
233 @cell_magic
General Comments 0
You need to be logged in to leave comments. Login now