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

Skip to content

DOC: replace "Mac OS X" -> "macOS" #27364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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().
Expand Down Expand Up @@ -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
Expand Down