summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-04-08 22:06:54 (GMT)
committerBrett Cannon <brett@python.org>2016-04-08 22:06:54 (GMT)
commit09455589c71e06fdc1f0b83711dbcd2ff08c6e20 (patch)
tree0d51a381a0c117fe5bdbc415c39ceb2f6297f582 /Doc
parent94ad49fabc15c2eaafb5b590701ceb642d56bec0 (diff)
downloadcpython-09455589c71e06fdc1f0b83711dbcd2ff08c6e20.zip
cpython-09455589c71e06fdc1f0b83711dbcd2ff08c6e20.tar.gz
cpython-09455589c71e06fdc1f0b83711dbcd2ff08c6e20.tar.bz2
Issue #26587: Remove an incorrect statement from the docs
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/site.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index 43daf79..0a73f5a 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -52,8 +52,7 @@ searched for site-packages; otherwise they won't.
A path configuration file is a file whose name has the form :file:`{name}.pth`
and exists in one of the four directories mentioned above; its contents are
additional items (one per line) to be added to ``sys.path``. Non-existing items
-are never added to ``sys.path``, and no check is made that the item refers to a
-directory rather than a file. No item is added to ``sys.path`` more than
+are never added to ``sys.path``. No item is added to ``sys.path`` more than
once. Blank lines and lines beginning with ``#`` are skipped. Lines starting
with ``import`` (followed by space or tab) are executed.