summaryrefslogtreecommitdiffstats
path: root/Doc/library/site.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-09-22 17:33:36 (GMT)
committerGitHub <noreply@github.com>2021-09-22 17:33:36 (GMT)
commit36122e18148c5b6c78ebce1d36d514fd7cf250f5 (patch)
tree2da76a2182b026faf0ef209c120cb6ca69491a11 /Doc/library/site.rst
parentecb6922ff2d56476a6cfb0941ae55aca5e7fae3d (diff)
downloadcpython-36122e18148c5b6c78ebce1d36d514fd7cf250f5.zip
cpython-36122e18148c5b6c78ebce1d36d514fd7cf250f5.tar.gz
cpython-36122e18148c5b6c78ebce1d36d514fd7cf250f5.tar.bz2
bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515)
Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com>
Diffstat (limited to 'Doc/library/site.rst')
-rw-r--r--Doc/library/site.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst
index 2e3646f..e2ad3c4 100644
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -32,7 +32,7 @@ It starts by constructing up to four directories from a head and a tail part.
For the head part, it uses ``sys.prefix`` and ``sys.exec_prefix``; empty heads
are skipped. For the tail part, it uses the empty string and then
:file:`lib/site-packages` (on Windows) or
-:file:`lib/python{X.Y}/site-packages` (on Unix and Macintosh). For each
+:file:`lib/python{X.Y}/site-packages` (on Unix and macOS). For each
of the distinct head-tail combinations, it sees if it refers to an existing
directory, and if so, adds it to ``sys.path`` and also inspects the newly
added path for configuration files.
@@ -176,8 +176,8 @@ Module contents
Path to the user site-packages for the running Python. Can be ``None`` if
:func:`getusersitepackages` hasn't been called yet. Default value is
- :file:`~/.local/lib/python{X.Y}/site-packages` for UNIX and non-framework Mac
- OS X builds, :file:`~/Library/Python/{X.Y}/lib/python/site-packages` for Mac
+ :file:`~/.local/lib/python{X.Y}/site-packages` for UNIX and non-framework
+ macOS builds, :file:`~/Library/Python/{X.Y}/lib/python/site-packages` for macOS
framework builds, and :file:`{%APPDATA%}\\Python\\Python{XY}\\site-packages`
on Windows. This directory is a site directory, which means that
:file:`.pth` files in it will be processed.
@@ -187,8 +187,8 @@ Module contents
Path to the base directory for the user site-packages. Can be ``None`` if
:func:`getuserbase` hasn't been called yet. Default value is
- :file:`~/.local` for UNIX and Mac OS X non-framework builds,
- :file:`~/Library/Python/{X.Y}` for Mac framework builds, and
+ :file:`~/.local` for UNIX and macOS non-framework builds,
+ :file:`~/Library/Python/{X.Y}` for macOS framework builds, and
:file:`{%APPDATA%}\\Python` for Windows. This value is used by Distutils to
compute the installation directories for scripts, data files, Python modules,
etc. for the :ref:`user installation scheme <inst-alt-install-user>`.