]> granicus.if.org Git - python/commitdiff
Fix site module documentation. (GH-8441)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Jul 2018 17:31:11 +0000 (10:31 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Tue, 24 Jul 2018 17:31:11 +0000 (10:31 -0700)
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>
Doc/library/site.rst

index 71ba999f12fb314df0136466d24317dcee107521..dabb4fee514c8d75be5aa2549133340ad1d7b0a0 100644 (file)
@@ -243,7 +243,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.