Skip to content

Commit cc602a7

Browse files
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)
"Mac OS X" has been rebranded as macOS https://www.apple.com/macos (cherry picked from commit 5fdd2a1) Co-authored-by: partev <[email protected]>
1 parent 3f13894 commit cc602a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/os.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ process and user.
126126

127127
.. note::
128128

129-
On some platforms, including FreeBSD and Mac OS X, setting ``environ`` may
129+
On some platforms, including FreeBSD and macOS, setting ``environ`` may
130130
cause memory leaks. Refer to the system documentation for
131131
:c:func:`putenv`.
132132

@@ -301,7 +301,7 @@ process and user.
301301

302302
.. note::
303303

304-
On Mac OS X, :func:`getgroups` behavior differs somewhat from
304+
On macOS, :func:`getgroups` behavior differs somewhat from
305305
other Unix platforms. If the Python interpreter was built with a
306306
deployment target of :const:`10.5` or earlier, :func:`getgroups` returns
307307
the list of effective group ids associated with the current user process;
@@ -448,7 +448,7 @@ process and user.
448448

449449
.. note::
450450

451-
On some platforms, including FreeBSD and Mac OS X, setting ``environ`` may
451+
On some platforms, including FreeBSD and macOS, setting ``environ`` may
452452
cause memory leaks. Refer to the system documentation for :c:func:`putenv`.
453453

454454
.. audit-event:: os.putenv key,value os.putenv
@@ -486,7 +486,7 @@ process and user.
486486

487487
.. availability:: Unix.
488488

489-
.. note:: On Mac OS X, the length of *groups* may not exceed the
489+
.. note:: On macOS, the length of *groups* may not exceed the
490490
system-defined maximum number of effective group ids, typically 16.
491491
See the documentation for :func:`getgroups` for cases where it may not
492492
return the same group list set by calling setgroups().
@@ -1280,11 +1280,11 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
12801280
On Linux, if *offset* is given as ``None``, the bytes are read from the
12811281
current position of *in_fd* and the position of *in_fd* is updated.
12821282

1283-
The second case may be used on Mac OS X and FreeBSD where *headers* and
1283+
The second case may be used on macOS and FreeBSD where *headers* and
12841284
*trailers* are arbitrary sequences of buffers that are written before and
12851285
after the data from *in_fd* is written. It returns the same as the first case.
12861286

1287-
On Mac OS X and FreeBSD, a value of ``0`` for *count* specifies to send until
1287+
On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until
12881288
the end of *in_fd* is reached.
12891289

12901290
All platforms support sockets as *out_fd* file descriptor, and some platforms

0 commit comments

Comments
 (0)