Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2a584b

Browse files
committed
Issue #28394: Spelling and typo fixes in code comments and changelog
Includes patch by Ville Skyttä.
1 parent 5e2a0ef commit d2a584b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/lib2to3/Grammar.txt

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

Lib/test/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ def testHTTPConnectionSourceAddress(self):
12721272
def testHTTPSConnectionSourceAddress(self):
12731273
self.conn = client.HTTPSConnection(HOST, self.port,
12741274
source_address=('', self.source_port))
1275-
# We don't test anything here other the constructor not barfing as
1275+
# We don't test anything here other than the constructor not barfing as
12761276
# this code doesn't deal with setting up an active running SSL server
12771277
# for an ssl_wrapped connect() to actually return from.
12781278

Misc/HISTORY

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9016,7 +9016,7 @@ Library
90169016
- Issue #5976: Fixed Distutils test_check_environ.
90179017

90189018
- Issue #5941: Distutils build_clib command was not working anymore because
9019-
of an incomplete costumization of the archiver command. Added ARFLAGS in the
9019+
of an incomplete customization of the archiver command. Added ARFLAGS in the
90209020
Makefile besides AR and make Distutils use it. Original patch by David
90219021
Cournapeau.
90229022

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ Build
484484
make time when --with-optimizations is enabled. Also improve our
485485
ability to find the llvm-profdata tool on MacOS and some Linuxes.
486486

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

489489
- Issue #26359: Add the --with-optimizations configure flag.
490490

0 commit comments

Comments
 (0)