summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorcclauss <cclauss@bluewin.ch>2018-11-26 17:58:23 +0100
committerBenjamin Peterson <benjamin@python.org>2018-11-26 10:58:23 -0600
commit0b4265e4efb0107dd39873e83c4f6369ad4643ab (patch)
treefa5899c8bce73e275160d1626689a260e7c59d01 /documentation
parente114efceea962fb143c909c904157ca994246fd2 (diff)
downloadsix-git-0b4265e4efb0107dd39873e83c4f6369ad4643ab.tar.gz
docs: reload() is in importlib in current Python 3. (#266)
The docs say that the Python 2 builtin __reload()__ was moved into the __imp__ module (which _used_ to be true) but in all currently supported versions of CPython, __reload()__ is found in the __importlib__ module: https://docs.python.org/3/library/importlib.html#importlib.reload
Diffstat (limited to 'documentation')
-rw-r--r--documentation/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index 34a92d8..99192a2 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -522,7 +522,7 @@ Python 2 or 3, write::
from six.moves import html_parser
Similarly, to get the function to reload modules, which was moved from the
-builtin module to the ``imp`` module, use::
+builtin module to the ``importlib`` module, use::
from six.moves import reload_module