From 0b4265e4efb0107dd39873e83c4f6369ad4643ab Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 26 Nov 2018 17:58:23 +0100 Subject: 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 --- documentation/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1