summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-10-25 17:52:46 (GMT)
committerBrett Cannon <brett@python.org>2013-10-25 17:52:46 (GMT)
commit8ad37860c9290f9e45ea0460ee57c882df0543e3 (patch)
treedeae53ab3a8bf4a436cf39eb61ef615ff338509c /Doc/library/importlib.rst
parent50aa32409bd181d8739d05515f14aa5d2d0d7f10 (diff)
downloadcpython-8ad37860c9290f9e45ea0460ee57c882df0543e3.zip
cpython-8ad37860c9290f9e45ea0460ee57c882df0543e3.tar.gz
cpython-8ad37860c9290f9e45ea0460ee57c882df0543e3.tar.bz2
Tweak some doc wording for importlib.reload
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r--Doc/library/importlib.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 9a8b5e9..f918bfb 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -121,9 +121,10 @@ Functions
so it must have been successfully imported before. This is useful if you
have edited the module source file using an external editor and want to try
out the new version without leaving the Python interpreter. The return value
- is the module object (the same as the *module* argument).
+ is the module object (which can be different if re-importing causes a
+ different object to be placed in :data:`sys.modules`).
- When :func:`.reload` is executed:
+ When :func:`reload` is executed:
* Python modules' code is recompiled and the module-level code re-executed,
defining a new set of objects which are bound to names in the module's