From 53f7a7c2814fbfd8a29200926601a32fa48bacb3 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 14 Dec 2017 14:04:53 +0300 Subject: bpo-32297: Few misspellings found in Python source code comments. (#4803) * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py --- Lib/test/test_socket.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_socket.py') diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index b97a7688a6..5b4c5f9f8c 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1444,7 +1444,7 @@ class GeneralModuleTests(unittest.TestCase): socket.gethostbyname(domain) socket.gethostbyname_ex(domain) socket.getaddrinfo(domain,0,socket.AF_UNSPEC,socket.SOCK_STREAM) - # this may not work if the forward lookup choses the IPv6 address, as that doesn't + # this may not work if the forward lookup chooses the IPv6 address, as that doesn't # have a reverse entry yet # socket.gethostbyaddr('испытание.python.org') @@ -4399,7 +4399,7 @@ class UnbufferedFileObjectClassTestCase(FileObjectClassTestCase): self.write_file.write(self.write_msg) self.write_file.flush() self.evt2.set() - # Avoid cloding the socket before the server test has finished, + # Avoid closing the socket before the server test has finished, # otherwise system recv() will return 0 instead of EWOULDBLOCK. self.serv_finished.wait(5.0) -- cgit v1.2.1