Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fdd2a1

Browse files
authored
docs: replace "Mac OS X" -> "macOS" (GH-27364)
"Mac OS X" has been rebranded as macOS https://www.apple.com/macos
1 parent f22737a commit 5fdd2a1

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
@@ -194,7 +194,7 @@ process and user.
194194

195195
.. note::
196196

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

@@ -369,7 +369,7 @@ process and user.
369369

370370
.. note::
371371

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

517517
.. note::
518518

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

522522
.. audit-event:: os.putenv key,value os.putenv
@@ -554,7 +554,7 @@ process and user.
554554

555555
.. availability:: Unix.
556556

557-
.. note:: On Mac OS X, the length of *groups* may not exceed the
557+
.. note:: On macOS, the length of *groups* may not exceed the
558558
system-defined maximum number of effective group ids, typically 16.
559559
See the documentation for :func:`getgroups` for cases where it may not
560560
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
13791379
On Linux, if *offset* is given as ``None``, the bytes are read from the
13801380
current position of *in_fd* and the position of *in_fd* is updated.
13811381

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

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

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

0 commit comments

Comments
 (0)