Fix ipython({...}) not applying specified user namespace

This commit is contained in:
Kovid Goyal 2014-02-13 17:04:41 +05:30
parent 55c728dd9e
commit 9a80329141

View File

@ -168,7 +168,8 @@ def ipython(user_ns=None):
if not user_ns: if not user_ns:
user_ns = defns user_ns = defns
else: else:
user_ns = defns.update(user_ns) defns.update(user_ns)
user_ns = defns
c = Config() c = Config()
c.InteractiveShellApp.exec_lines = [ c.InteractiveShellApp.exec_lines = [