mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
This commit is contained in:
parent
0158af38b7
commit
c30b7b16ea
13 changed files with 40 additions and 38 deletions
|
|
@ -442,7 +442,7 @@ class GeneralModuleTests(unittest.TestCase):
|
|||
# Try same call with optional protocol omitted
|
||||
port2 = socket.getservbyname(service)
|
||||
eq(port, port2)
|
||||
# Try udp, but don't barf it it doesn't exist
|
||||
# Try udp, but don't barf if it doesn't exist
|
||||
try:
|
||||
udpport = socket.getservbyname(service, 'udp')
|
||||
except socket.error:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue