]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Tweak some doc wording for importlib.reload
authorBrett Cannon <brett@python.org>
Fri, 25 Oct 2013 17:52:46 +0000 (13:52 -0400)
committerBrett Cannon <brett@python.org>
Fri, 25 Oct 2013 17:52:46 +0000 (13:52 -0400)
Doc/library/importlib.rst

index 9a8b5e9df5c38f2d258acf173ca0bfc556c727ef..f918bfb031d902590ddfdfd429f70938ea89830c 100644 (file)
@@ -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