Show More
@@ -978,8 +978,8 b' class InteractiveShell(SingletonConfigurable, Magic):' | |||||
978 | # We must ensure that __builtin__ (without the final 's') is always |
|
978 | # We must ensure that __builtin__ (without the final 's') is always | |
979 | # available and pointing to the __builtin__ *module*. For more details: |
|
979 | # available and pointing to the __builtin__ *module*. For more details: | |
980 | # http://mail.python.org/pipermail/python-dev/2001-April/014068.html |
|
980 | # http://mail.python.org/pipermail/python-dev/2001-April/014068.html | |
981 |
user_module.__dict__.setdefault('__builtin__', |
|
981 | user_module.__dict__.setdefault('__builtin__', builtin_mod) | |
982 |
user_module.__dict__.setdefault('__builtins__', |
|
982 | user_module.__dict__.setdefault('__builtins__', builtin_mod) | |
983 |
|
983 | |||
984 | if user_ns is None: |
|
984 | if user_ns is None: | |
985 | user_ns = user_module.__dict__ |
|
985 | user_ns = user_module.__dict__ |
General Comments 0
You need to be logged in to leave comments.
Login now