summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/lib/deepreload.py
diff options
context:
space:
mode:
authorsmosker <[email protected]>2022-02-10 16:48:22 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:22 +0300
commit01fa2667d0e5e868b18424bc1906146e5ee340db (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /contrib/python/ipython/py2/IPython/lib/deepreload.py
parentdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/ipython/py2/IPython/lib/deepreload.py')
-rw-r--r--contrib/python/ipython/py2/IPython/lib/deepreload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py2/IPython/lib/deepreload.py b/contrib/python/ipython/py2/IPython/lib/deepreload.py
index aa4836ba76e..76b493c0bb7 100644
--- a/contrib/python/ipython/py2/IPython/lib/deepreload.py
+++ b/contrib/python/ipython/py2/IPython/lib/deepreload.py
@@ -327,8 +327,8 @@ except AttributeError:
original_reload = imp.reload # Python 3
# Replacement for reload()
-def reload(module, exclude=('sys', 'os.path', builtin_mod_name, '__main__',
- 'numpy', 'numpy._globals')):
+def reload(module, exclude=('sys', 'os.path', builtin_mod_name, '__main__',
+ 'numpy', 'numpy._globals')):
"""Recursively reload all modules used in the given module. Optionally
takes a list of modules to exclude from reloading. The default exclude
list contains sys, __main__, and __builtin__, to prevent, e.g., resetting