summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/lib/deepreload.py
diff options
context:
space:
mode:
authorsmosker <[email protected]>2022-02-10 16:48:21 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:21 +0300
commitdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (patch)
treef332cd81782832c17c48d8c3b4511924cd9e47fd /contrib/python/ipython/py2/IPython/lib/deepreload.py
parentb637e2fa3213638fbabe52c15dad14c8237945ac (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 76b493c0bb7..aa4836ba76e 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