Skip to content

Commit

Permalink
Merge pull request ipython#2713 from corranwebster/docs-magic-referen…
Browse files Browse the repository at this point in the history
…ce-bugfix

Doc bugfix: user_ns is not an attribute of Magic objects.
  • Loading branch information
bfroehle committed Dec 21, 2012
2 parents 8d460c8 + ba70177 commit fe3a6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/interactive/reference.txt
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 fe3a6c1

Please sign in to comment.