summaryrefslogtreecommitdiffstats
path: root/Doc/library/site.rst
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2018-07-24 16:14:20 (GMT)
committerGitHub <noreply@github.com>2018-07-24 16:14:20 (GMT)
commit95d34c2a37f4c5046f6439abef881925d34fe4ac (patch)
tree4c910f1a95aa71b33903da1fb4fabde4570ef72f /Doc/library/site.rst
parentc206f0d1375fab7b58c19a6be3e68e316f718c66 (diff)
downloadcpython-95d34c2a37f4c5046f6439abef881925d34fe4ac.zip
cpython-95d34c2a37f4c5046f6439abef881925d34fe4ac.tar.gz
cpython-95d34c2a37f4c5046f6439abef881925d34fe4ac.tar.bz2
Fix site module documentation. (GH-8441)
The script will exit with the number 0 (zero), instead of the letter O.
Diffstat (limited to 'Doc/library/site.rst')
-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 0003a7c..5b5ed93 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.