summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorLeo Arias <leo.arias@canonical.com>2018-02-04 00:36:10 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-02-04 00:36:10 (GMT)
commitc3d9508ff22ece9a96892b628dd5813e2fb0cd80 (patch)
tree56271a3b3e3681e47e97ec2dca926bc9cb891a5e /Modules/socketmodule.c
parent589c718a8e3bde017350f248f7f1c009240eb52b (diff)
downloadcpython-c3d9508ff22ece9a96892b628dd5813e2fb0cd80.zip
cpython-c3d9508ff22ece9a96892b628dd5813e2fb0cd80.tar.gz
cpython-c3d9508ff22ece9a96892b628dd5813e2fb0cd80.tar.bz2
bpo-32746: Fix multiple typos (GH-5144)
Fix typos found by codespell in docs, docstrings, and comments.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index ab3465a..13936aa 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -6156,7 +6156,7 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs)
}
#if defined(__APPLE__) && defined(AI_NUMERICSERV)
if ((flags & AI_NUMERICSERV) && (pptr == NULL || (pptr[0] == '0' && pptr[1] == 0))) {
- /* On OSX upto at least OSX 10.8 getaddrinfo crashes
+ /* On OSX up to at least OSX 10.8 getaddrinfo crashes
* if AI_NUMERICSERV is set and the servname is NULL or "0".
* This workaround avoids a segfault in libsystem.
*/