cpython: de13f5a0f4d5 (original) (raw)

Mercurial > cpython

changeset 104430:de13f5a0f4d5 2.7

Issue #28394: Typo fixes in code comments and changelog Includes patch by Ville Skyttä. [#28394]

Martin Panter vadmium+py@gmail.com
date Mon, 10 Oct 2016 01:00:00 +0000
parents 3119f08802a5
children c29045efd25e
files Lib/lib2to3/Grammar.txt Lib/test/test_httplib.py Misc/NEWS
diffstat 3 files changed, 6 insertions(+), 6 deletions(-)[+] [-] Lib/lib2to3/Grammar.txt 2 Lib/test/test_httplib.py 2 Misc/NEWS 8

line wrap: on

line diff

--- a/Lib/lib2to3/Grammar.txt +++ b/Lib/lib2to3/Grammar.txt @@ -150,7 +150,7 @@ arglist: argument (',' argument)* [',']

to our LL(1) parser. Even though 'test' includes '*expr' in star_expr,

we explicitly match '*' here, too, to give it proper precedence.

Illegal combinations and orderings are blocked in ast.c:

-# multiple (test comp_for) arguements are blocked; keyword unpackings +# multiple (test comp_for) arguments are blocked; keyword unpackings

that precede iterable unpackings are blocked; etc.

argument: ( test [comp_for] | test '=' test |

--- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -738,7 +738,7 @@ class SourceAddressTest(TestServerMixin, def testHTTPSConnectionSourceAddress(self): self.conn = httplib.HTTPSConnection(HOST, self.port, source_address=('', self.source_port))

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -25,7 +25,7 @@ Core and Builtins