summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMathieu Dupuy <mathieu.dupuy@doctolib.com>2020-05-17 21:29:51 (GMT)
committerGitHub <noreply@github.com>2020-05-17 21:29:51 (GMT)
commit65460565df99fbda6a74b6bb4bf99affaaf8bd95 (patch)
treeee7273e03bd25bb78eeaab20c04f2d99177a7741 /Doc
parent4eba67783eb2084b2dad875ed1cbffdaf8a9202e (diff)
downloadcpython-65460565df99fbda6a74b6bb4bf99affaaf8bd95.zip
cpython-65460565df99fbda6a74b6bb4bf99affaaf8bd95.tar.gz
cpython-65460565df99fbda6a74b6bb4bf99affaaf8bd95.tar.bz2
Doc: change 'Posix' for 'POSIX' (GH-20001)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/howto/sockets.rst2
-rw-r--r--Doc/library/subprocess.rst4
-rw-r--r--Doc/library/sysconfig.rst6
3 files changed, 6 insertions, 6 deletions
diff --git a/Doc/howto/sockets.rst b/Doc/howto/sockets.rst
index 4655f28..d6ed128 100644
--- a/Doc/howto/sockets.rst
+++ b/Doc/howto/sockets.rst
@@ -319,7 +319,7 @@ inside-out.
In Python, you use ``socket.setblocking(False)`` to make it non-blocking. In C, it's
more complex, (for one thing, you'll need to choose between the BSD flavor
-``O_NONBLOCK`` and the almost indistinguishable Posix flavor ``O_NDELAY``, which
+``O_NONBLOCK`` and the almost indistinguishable POSIX flavor ``O_NDELAY``, which
is completely different from ``TCP_NODELAY``), but it's the exact same idea. You
do this after creating the socket, but before using it. (Actually, if you're
nuts, you can switch back and forth.)
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index e5dbfe4..5988bd3 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -791,14 +791,14 @@ Instances of the :class:`Popen` class have the following methods:
.. method:: Popen.terminate()
- Stop the child. On Posix OSs the method sends SIGTERM to the
+ Stop the child. On POSIX OSs the method sends SIGTERM to the
child. On Windows the Win32 API function :c:func:`TerminateProcess` is called
to stop the child.
.. method:: Popen.kill()
- Kills the child. On Posix OSs the function sends SIGKILL to the child.
+ Kills the child. On POSIX OSs the function sends SIGKILL to the child.
On Windows :meth:`kill` is an alias for :meth:`terminate`.
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index b5a1da8..78a1dfc 100644
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -74,12 +74,12 @@ places.
Python currently supports seven schemes:
-- *posix_prefix*: scheme for Posix platforms like Linux or Mac OS X. This is
+- *posix_prefix*: scheme for POSIX platforms like Linux or Mac OS X. This is
the default scheme used when Python or a component is installed.
-- *posix_home*: scheme for Posix platforms used when a *home* option is used
+- *posix_home*: scheme for POSIX platforms used when a *home* option is used
upon installation. This scheme is used when a component is installed through
Distutils with a specific home prefix.
-- *posix_user*: scheme for Posix platforms used when a component is installed
+- *posix_user*: scheme for POSIX platforms used when a component is installed
through Distutils and the *user* option is used. This scheme defines paths
located under the user home directory.
- *nt*: scheme for NT platforms like Windows.