summaryrefslogtreecommitdiffstats
path: root/Doc/library/site.rst
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-10-03 17:55:29 (GMT)
committerGitHub <noreply@github.com>2023-10-03 17:55:29 (GMT)
commit4c0f42bbc6fb9d2d0b46ecff07b995655a43c4ce (patch)
tree138c3cff7b2233419ebbb82f339e17754510378d /Doc/library/site.rst
parent90dea557bb0b171efd62ad4eef5b1939d5b248fd (diff)
downloadcpython-4c0f42bbc6fb9d2d0b46ecff07b995655a43c4ce.zip
cpython-4c0f42bbc6fb9d2d0b46ecff07b995655a43c4ce.tar.gz
cpython-4c0f42bbc6fb9d2d0b46ecff07b995655a43c4ce.tar.bz2
[3.12] Docs: Avoid the deprecated ``.. cmdoption::`` directive (GH-110292) (#110302)
[3.12] Docs: Avoid the deprecated ``.. cmdoption::`` directive (GH-110292). (cherry picked from commit 77e9aae3837d9f0cf87461d023896f2c4aeb282f)
Diffstat (limited to 'Doc/library/site.rst')
-rw-r--r--Doc/library/site.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index 02880c5..2dc9fb0 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -266,11 +266,11 @@ If it is called without arguments, it will print the contents of
:data:`USER_BASE` and whether the directory exists, then the same thing for
:data:`USER_SITE`, and finally the value of :data:`ENABLE_USER_SITE`.
-.. cmdoption:: --user-base
+.. option:: --user-base
Print the path to the user base directory.
-.. cmdoption:: --user-site
+.. option:: --user-site
Print the path to the user site-packages directory.