[Python-checkins] Fix site module documentation. (GH-8441)

Mariatta webhook-mailer at python.org
Tue Jul 24 13:30:37 EDT 2018


https://github.com/python/cpython/commit/6f7fd963a0ed6ff2fd0bf85cd40d2161b3487614
commit: 6f7fd963a0ed6ff2fd0bf85cd40d2161b3487614
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018-07-24T10:30:33-07:00
summary:

Fix site module documentation. (GH-8441)

The script will exit with the number 0 (zero), instead of the letter O.
(cherry picked from commit 95d34c2a37f4c5046f6439abef881925d34fe4ac)

Co-authored-by: Mariatta <Mariatta at users.noreply.github.com>

files:
M Doc/library/site.rst

diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index 0003a7cd8f17..5b5ed93a1b7b 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -245,7 +245,7 @@ If it is called without arguments, it will print the contents of
 If both options are given, user base and user site will be printed (always in
 this order), separated by :data:`os.pathsep`.
 
-If any option is given, the script will exit with one of these values: ``O`` if
+If any option is given, the script will exit with one of these values: ``0`` if
 the user site-packages directory is enabled, ``1`` if it was disabled by the
 user, ``2`` if it is disabled for security reasons or by an administrator, and a
 value greater than 2 if there is an error.



More information about the Python-checkins mailing list