diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 21:57:08 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 21:57:08 (GMT) |
commit | c30b7b16ea03ad094917615940cd1a9ef53c4904 (patch) | |
tree | 6c3f56533f33d2be19d9bf1cc7bc659eb005959b /Lib/test | |
parent | 0158af38b73b76516f18b1774e1c590f459cb188 (diff) | |
download | cpython-c30b7b16ea03ad094917615940cd1a9ef53c4904.zip cpython-c30b7b16ea03ad094917615940cd1a9ef53c4904.tar.gz cpython-c30b7b16ea03ad094917615940cd1a9ef53c4904.tar.bz2 |
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_descrtut.py | 2 | ||||
-rw-r--r-- | Lib/test/test_socket.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py index 2db3d33..0cf31f5 100644 --- a/Lib/test/test_descrtut.py +++ b/Lib/test/test_descrtut.py @@ -316,7 +316,7 @@ Attributes defined by get/set methods ... return self.__set(inst, value) Now let's define a class with an attribute x defined by a pair of methods, -getx() and and setx(): +getx() and setx(): >>> class C(object): ... diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 5573421..4ecab95 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -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: |