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

Skip to content

Commit aea671e

Browse files
committed
Merge typo fixes from 3.5
2 parents 50d4c15 + 70c502a commit aea671e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/whatsnew/2.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ arguments and/or a dictionary of keyword arguments. In Python 1.5 and earlier,
506506
you'd use the :func:`apply` built-in function: ``apply(f, args, kw)`` calls the
507507
function :func:`f` with the argument tuple *args* and the keyword arguments in
508508
the dictionary *kw*. :func:`apply` is the same in 2.0, but thanks to a patch
509-
from Greg Ewing, ``f(*args, **kw)`` as a shorter and clearer way to achieve the
509+
from Greg Ewing, ``f(*args, **kw)`` is a shorter and clearer way to achieve the
510510
same effect. This syntax is symmetrical with the syntax for defining
511511
functions::
512512

Lib/test/test_coroutines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ async def main():
14231423

14241424
with warnings.catch_warnings():
14251425
warnings.simplefilter("error")
1426-
# Test that __aiter__ that returns an asyncronous iterator
1426+
# Test that __aiter__ that returns an asynchronous iterator
14271427
# directly does not throw any warnings.
14281428
run_async(main())
14291429
self.assertEqual(I, 111011)

Misc/NEWS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,8 +3040,8 @@ Library
30403040
writer failed in BufferedRWPair.close().
30413041

30423042
- Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``
3043-
and ASCII letter now raise a deprecation warning and will be forbidden in
3044-
Python 3.6.
3043+
and an ASCII letter now raise a deprecation warning and will be forbidden
3044+
in Python 3.6.
30453045

30463046
- Issue #23671: string.Template now allows specifying the "self" parameter as
30473047
a keyword argument. string.Formatter now allows specifying the "self" and

0 commit comments

Comments
 (0)