summaryrefslogtreecommitdiffstats
path: root/Doc/library/runpy.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 14:36:18 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 14:36:18 (GMT)
commit766ad36de54203f6d5af21bbb20ba375ca1d66a8 (patch)
treeb5a496928f7f2520731b815473c908f3f05464e8 /Doc/library/runpy.rst
parent9467b212f5dd4558443d03584e1ed9bca5a2b780 (diff)
downloadcpython-766ad36de54203f6d5af21bbb20ba375ca1d66a8.zip
cpython-766ad36de54203f6d5af21bbb20ba375ca1d66a8.tar.gz
cpython-766ad36de54203f6d5af21bbb20ba375ca1d66a8.tar.bz2
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 a96285c..907ce2a 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`.