summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-24 09:27:12 -0700
committerGitHub <noreply@github.com>2018-07-24 09:27:12 -0700
commit613cbf3d4dff7bcbd85c991695c8c35e75147aa4 (patch)
treeafc7aeb59bec9a148130ad8830df11acd9b9b983
parentf7e60a69485097dc28f000c55615038278f84333 (diff)
downloadcpython-git-613cbf3d4dff7bcbd85c991695c8c35e75147aa4.tar.gz
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@users.noreply.github.com>
-rw-r--r--Doc/library/site.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index ff7195dc23..1c2d63e448 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -206,7 +206,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.