Skip to content

Commit 829d4fb

Browse files
committed
Issue python#28394: Typo fixes in code comments and changelog
Includes patch by Ville Skyttä.
1 parent 61dd7ff commit 829d4fb

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎Lib/lib2to3/Grammar.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ arglist: argument (',' argument)* [',']
150150
# to our LL(1) parser. Even though 'test' includes '*expr' in star_expr,
151151
# we explicitly match '*' here, too, to give it proper precedence.
152152
# Illegal combinations and orderings are blocked in ast.c:
153-
# multiple (test comp_for) arguements are blocked; keyword unpackings
153+
# multiple (test comp_for) arguments are blocked; keyword unpackings
154154
# that precede iterable unpackings are blocked; etc.
155155
argument: ( test [comp_for] |
156156
test '=' test |

‎Lib/test/test_httplib.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def testHTTPConnectionSourceAddress(self):
738738
def testHTTPSConnectionSourceAddress(self):
739739
self.conn = httplib.HTTPSConnection(HOST, self.port,
740740
source_address=('', self.source_port))
741-
# We don't test anything here other the constructor not barfing as
741+
# We don't test anything here other than the constructor not barfing as
742742
# this code doesn't deal with setting up an active running SSL server
743743
# for an ssl_wrapped connect() to actually return from.
744744

‎Misc/NEWS‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Core and Builtins
2525

2626
- Issue #15578: Correctly incref the parent module while importing.
2727

28-
- Issue #26307: The profile-opt build now applys PGO to the built-in modules.
28+
- Issue #26307: The profile-opt build now applies PGO to the built-in modules.
2929

3030
- Issue #26020: set literal evaluation order did not match documented behaviour.
3131

@@ -488,7 +488,7 @@ Library
488488
- Issue #26385: Remove the file if the internal fdopen() call in
489489
NamedTemporaryFile() fails. Based on patch by Silent Ghost.
490490

491-
- Issue #26309: In the "socketserver" module, shut down the request (closing
491+
- Issue #26309: In the "SocketServer" module, shut down the request (closing
492492
the connected socket) when verify_request() returns false. Based on patch
493493
by Aviv Palivoda.
494494

@@ -6537,7 +6537,7 @@ Library
65376537
- Issue #8140: Extend compileall to compile single files. Add -i option.
65386538

65396539
- Issue #7774: Set sys.executable to an empty string if ``argv[0]`` has been set
6540-
to an non existent program name and Python is unable to retrieve the real
6540+
to a non existent program name and Python is unable to retrieve the real
65416541
program name.
65426542

65436543
- Issue #8117: logging: Improved algorithm for computing initial rollover time
@@ -8053,7 +8053,7 @@ Library
80538053
is used. Original patch by Floris Bruynooghe.
80548054

80558055
- Issue #5941: Distutils build_clib command was not working anymore because of
8056-
an incomplete costumization of the archiver command. Added ARFLAGS in the
8056+
an incomplete customization of the archiver command. Added ARFLAGS in the
80578057
Makefile besides AR and make Distutils use it. Original patch by David
80588058
Cournapeau.
80598059

0 commit comments

Comments
 (0)