summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authortoonarmycaptain <toonarmycaptain@hotmail.com>2019-12-25 11:25:36 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-12-25 11:25:36 (GMT)
commitdd117c33a83ae0a7532848d3e0b8d96b098c9c46 (patch)
tree24bbe87d418d15ef81cace5a4d911aac792937ea /Misc
parent5c7ed7550ec2da16d7679e538fcd7c1a5631811f (diff)
downloadcpython-dd117c33a83ae0a7532848d3e0b8d96b098c9c46.zip
cpython-dd117c33a83ae0a7532848d3e0b8d96b098c9c46.tar.gz
cpython-dd117c33a83ae0a7532848d3e0b8d96b098c9c46.tar.bz2
Update 3.9.0a2.rst - correct small typos (GH-17665)
Small typo/formatting corrections. `whethen` -> `whether` `exaustion' -> `exhaustion` Assorted appending periods `.` and slight reformattings to place `Path contributed by` on the same line as description, matching the majority of document. NB Some of these might need to be backported, as I saw the first error in the [changelog for 3.8.1](https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-1)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/3.9.0a2.rst16
1 files changed, 7 insertions, 9 deletions
diff --git a/Misc/NEWS.d/3.9.0a2.rst b/Misc/NEWS.d/3.9.0a2.rst
index a418fe0..074e80f 100644
--- a/Misc/NEWS.d/3.9.0a2.rst
+++ b/Misc/NEWS.d/3.9.0a2.rst
@@ -81,7 +81,7 @@ sys.argv to be unmodified.
.. section: Core and Builtins
:c:func:`PySys_Audit` now requires ``Py_ssize_t`` to be used for size
-arguments in the format string, regardless of whethen ``PY_SSIZE_T_CLEAN``
+arguments in the format string, regardless of whether ``PY_SSIZE_T_CLEAN``
was defined at include time.
..
@@ -112,7 +112,7 @@ event.
.. section: Core and Builtins
Add audit hooks for when :func:`sys.excepthook` and
-:func:`sys.unraisablehook` are invoked
+:func:`sys.unraisablehook` are invoked.
..
@@ -215,9 +215,7 @@ Patch by hongweipeng.
.. section: Core and Builtins
Provide a platform tag for AIX that is sufficient for PEP425 binary
-distribution identification.
-
-Patch by Michael Felt
+distribution identification. Patch by Michael Felt.
..
@@ -300,7 +298,7 @@ parsing the header.
.. nonce: IJYhz_
.. section: Library
-Implement ``__class_getitem__`` for ``os.PathLike``, ``pathlib.Path``
+Implement ``__class_getitem__`` for ``os.PathLike``, ``pathlib.Path``.
..
@@ -402,7 +400,7 @@ locale encoding is not UTF-8.
.. nonce: WZnAPQ
.. section: Library
-Prevent UnboundLocalError to pop up in parse_message_id
+Prevent UnboundLocalError to pop up in parse_message_id.
parse_message_id() was improperly using a token defined inside an exception
handler, which was raising `UnboundLocalError` on parsing an invalid value.
@@ -444,7 +442,7 @@ random.choices() now raises a ValueError when all the weights are zero.
.. section: Library
Raise pickle.UnpicklingError when loading an item from memo for invalid
-input
+input.
The previous code was raising a `KeyError` for both the Python and C
implementation. This was caused by the specified index of an invalid input
@@ -506,7 +504,7 @@ by Pablo Galindo and Batuhan Taskaya.
.. nonce: AZUzL8
.. section: Library
-AsyncMock now returns StopAsyncIteration on the exaustion of a side_effects
+AsyncMock now returns StopAsyncIteration on the exhaustion of a side_effects
iterable. Since PEP-479 its Impossible to raise a StopIteration exception
from a coroutine.