summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-26 20:22:26 (GMT)
committerGitHub <noreply@github.com>2021-07-26 20:22:26 (GMT)
commit3dc88ff845091ea6a8e2e559e13cb0294b088e39 (patch)
treeab5246351b77eb57cf7f6bbacb3d678cae56a873 /Doc/library
parent5151826ee453eb6b8d32336e289573c421e956a4 (diff)
downloadcpython-3dc88ff845091ea6a8e2e559e13cb0294b088e39.zip
cpython-3dc88ff845091ea6a8e2e559e13cb0294b088e39.tar.gz
cpython-3dc88ff845091ea6a8e2e559e13cb0294b088e39.tar.bz2
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27374)
"Mac OS X" has been rebranded as macOS https://www.apple.com/macos (cherry picked from commit 5fdd2a14ce3f81a7db47bb79421c426dec4b25bd) Co-authored-by: partev <petrosyan@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 4b249ed..f0f8119 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -194,7 +194,7 @@ process and user.
.. note::
- On some platforms, including FreeBSD and Mac OS X, setting ``environ`` may
+ On some platforms, including FreeBSD and macOS, setting ``environ`` may
cause memory leaks. Refer to the system documentation for
:c:func:`putenv`.
@@ -369,7 +369,7 @@ process and user.
.. note::
- On Mac OS X, :func:`getgroups` behavior differs somewhat from
+ On macOS, :func:`getgroups` behavior differs somewhat from
other Unix platforms. If the Python interpreter was built with a
deployment target of :const:`10.5` or earlier, :func:`getgroups` returns
the list of effective group ids associated with the current user process;
@@ -516,7 +516,7 @@ process and user.
.. note::
- On some platforms, including FreeBSD and Mac OS X, setting ``environ`` may
+ On some platforms, including FreeBSD and macOS, setting ``environ`` may
cause memory leaks. Refer to the system documentation for :c:func:`putenv`.
.. audit-event:: os.putenv key,value os.putenv
@@ -554,7 +554,7 @@ process and user.
.. availability:: Unix.
- .. note:: On Mac OS X, the length of *groups* may not exceed the
+ .. note:: On macOS, the length of *groups* may not exceed the
system-defined maximum number of effective group ids, typically 16.
See the documentation for :func:`getgroups` for cases where it may not
return the same group list set by calling setgroups().
@@ -1379,11 +1379,11 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
On Linux, if *offset* is given as ``None``, the bytes are read from the
current position of *in_fd* and the position of *in_fd* is updated.
- The second case may be used on Mac OS X and FreeBSD where *headers* and
+ The second case may be used on macOS and FreeBSD where *headers* and
*trailers* are arbitrary sequences of buffers that are written before and
after the data from *in_fd* is written. It returns the same as the first case.
- On Mac OS X and FreeBSD, a value of ``0`` for *count* specifies to send until
+ On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until
the end of *in_fd* is reached.
All platforms support sockets as *out_fd* file descriptor, and some platforms