summaryrefslogtreecommitdiff
path: root/Doc/library/runpy.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 14:36:18 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 14:36:18 +0000
commit1e0f4b6fd6564a4765e3c31e38eb10f55cd24f90 (patch)
tree330e80e077dc22300529a43bf7abd86883d06ebc /Doc/library/runpy.rst
parent5266e4236ff854c931fb0f6b958539e243da015f (diff)
downloadcpython-1e0f4b6fd6564a4765e3c31e38eb10f55cd24f90.tar.gz
Merged revisions 81163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP ........
Diffstat (limited to 'Doc/library/runpy.rst')
-rw-r--r--Doc/library/runpy.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/runpy.rst b/Doc/library/runpy.rst
index a96285cf7d..907ce2af13 100644
--- a/Doc/library/runpy.rst
+++ b/Doc/library/runpy.rst
@@ -18,7 +18,7 @@ The :mod:`runpy` module provides two functions:
Execute the code of the specified module and return the resulting module
globals dictionary. The module's code is first located using the standard
- import mechanism (refer to PEP 302 for details) and then executed in a
+ import mechanism (refer to :pep:`302` for details) and then executed in a
fresh module namespace.
If the supplied module name refers to a package rather than a normal
@@ -48,7 +48,7 @@ The :mod:`runpy` module provides two functions:
``__cached__`` will be set to ``None``.
- ``__loader__`` is set to the PEP 302 module loader used to retrieve the
+ ``__loader__`` is set to the :pep:`302` module loader used to retrieve the
code for the module (This loader may be a wrapper around the standard
import mechanism).
@@ -106,7 +106,7 @@ The :mod:`runpy` module provides two functions:
loader does not make filename information available, this variable is set
to :const:`None`. For a simple script, this will be set to ``file_path``.
- ``__loader__`` is set to the PEP 302 module loader used to retrieve the
+ ``__loader__`` is set to the :pep:`302` module loader used to retrieve the
code for the module (This loader may be a wrapper around the standard
import mechanism). For a simple script, this will be set to :const:`None`.