summaryrefslogtreecommitdiffstats
path: root/Doc/library/runpy.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-31 09:25:48 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-31 09:25:48 (GMT)
commit8ed75cd8e931c075c38246fbd50dd5f18defdba6 (patch)
tree7d7ce1750916737af0a92d0c9b47163abb5cec3f /Doc/library/runpy.rst
parent2677faecf5c967b1078eb2de94a32d5f722511e4 (diff)
downloadcpython-8ed75cd8e931c075c38246fbd50dd5f18defdba6.zip
cpython-8ed75cd8e931c075c38246fbd50dd5f18defdba6.tar.gz
cpython-8ed75cd8e931c075c38246fbd50dd5f18defdba6.tar.bz2
#22613: minor other fixes in library docs (thanks Jacques Ducasse)
Diffstat (limited to 'Doc/library/runpy.rst')
-rw-r--r--Doc/library/runpy.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/library/runpy.rst b/Doc/library/runpy.rst
index a764696..db1db3e 100644
--- a/Doc/library/runpy.rst
+++ b/Doc/library/runpy.rst
@@ -127,9 +127,6 @@ The :mod:`runpy` module provides two functions:
supplied path, and ``__spec__``, ``__cached__``, ``__loader__`` and
``__package__`` will all be set to :const:`None`.
- ``__spec__`` will be set to :const:`None` if the supplied path is a
- direct path to a script (as source or as precompiled bytecode).
-
If the supplied path is a reference to a valid sys.path entry, then
``__spec__`` will be set appropriately for the imported ``__main__``
module (that is, ``__spec__.name`` will always be ``__main__``).