mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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
This commit is contained in:
parent
5364b5cd75
commit
53f7a7c281
39 changed files with 71 additions and 71 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue