summaryrefslogtreecommitdiffstats
path: root/Doc/howto/sockets.rst
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/howto/sockets.rst
parent4eba67783eb2084b2dad875ed1cbffdaf8a9202e (diff)
downloadcpython-65460565df99fbda6a74b6bb4bf99affaaf8bd95.zip
cpython-65460565df99fbda6a74b6bb4bf99affaaf8bd95.tar.gz
cpython-65460565df99fbda6a74b6bb4bf99affaaf8bd95.tar.bz2
Doc: change 'Posix' for 'POSIX' (GH-20001)
Diffstat (limited to 'Doc/howto/sockets.rst')
-rw-r--r--Doc/howto/sockets.rst2
1 files changed, 1 insertions, 1 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.)