Skip to content

Commit

Permalink
Minor bugfix: user_ns is not an attribute of Magic objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster committed Dec 21, 2012
1 parent 44143b4 commit ba70177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/interactive/reference.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ IPython object:
def lmagic(self, line):
"my line magic"
print "Full access to the main IPython object:", self.shell
print "Variables in the user namespace:", self.user_ns.keys()
print "Variables in the user namespace:", self.shell.user_ns.keys()
return line

@cell_magic
Expand Down

0 comments on commit ba70177

Please sign in to comment.