Skip to content

Commit c944649

Browse files
authored
gh-95112: Fix What's New 3.10 contribution note periods (#95114)
Some are missing, a few placed after the ')'. One ') was missing.
1 parent b437894 commit c944649

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

Doc/whatsnew/3.10.rst

+25-25
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ have been incorporated. Some of the most notable ones are as follows:
230230
^
231231
SyntaxError: expected ':'
232232
233-
(Contributed by Pablo Galindo in :issue:`42997`)
233+
(Contributed by Pablo Galindo in :issue:`42997`.)
234234
235235
* Unparenthesised tuples in comprehensions targets:
236236
@@ -242,7 +242,7 @@ have been incorporated. Some of the most notable ones are as follows:
242242
^
243243
SyntaxError: did you forget parentheses around the comprehension target?
244244
245-
(Contributed by Pablo Galindo in :issue:`43017`)
245+
(Contributed by Pablo Galindo in :issue:`43017`.)
246246
247247
* Missing commas in collection literals and between expressions:
248248
@@ -257,7 +257,7 @@ have been incorporated. Some of the most notable ones are as follows:
257257
^
258258
SyntaxError: invalid syntax. Perhaps you forgot a comma?
259259
260-
(Contributed by Pablo Galindo in :issue:`43822`)
260+
(Contributed by Pablo Galindo in :issue:`43822`.)
261261
262262
* Multiple Exception types without parentheses:
263263
@@ -271,7 +271,7 @@ have been incorporated. Some of the most notable ones are as follows:
271271
^
272272
SyntaxError: multiple exception types must be parenthesized
273273
274-
(Contributed by Pablo Galindo in :issue:`43149`)
274+
(Contributed by Pablo Galindo in :issue:`43149`.)
275275
276276
* Missing ``:`` and values in dictionary literals:
277277
@@ -293,7 +293,7 @@ have been incorporated. Some of the most notable ones are as follows:
293293
^
294294
SyntaxError: ':' expected after dictionary key
295295
296-
(Contributed by Pablo Galindo in :issue:`43823`)
296+
(Contributed by Pablo Galindo in :issue:`43823`.)
297297
298298
* ``try`` blocks without ``except`` or ``finally`` blocks:
299299
@@ -307,7 +307,7 @@ have been incorporated. Some of the most notable ones are as follows:
307307
^^^^^^^^^
308308
SyntaxError: expected 'except' or 'finally' block
309309
310-
(Contributed by Pablo Galindo in :issue:`44305`)
310+
(Contributed by Pablo Galindo in :issue:`44305`.)
311311
312312
* Usage of ``=`` instead of ``==`` in comparisons:
313313
@@ -319,7 +319,7 @@ have been incorporated. Some of the most notable ones are as follows:
319319
^
320320
SyntaxError: cannot assign to attribute here. Maybe you meant '==' instead of '='?
321321
322-
(Contributed by Pablo Galindo in :issue:`43797`)
322+
(Contributed by Pablo Galindo in :issue:`43797`.)
323323
324324
* Usage of ``*`` in f-strings:
325325
@@ -331,7 +331,7 @@ have been incorporated. Some of the most notable ones are as follows:
331331
^
332332
SyntaxError: f-string: cannot use starred expression here
333333
334-
(Contributed by Pablo Galindo in :issue:`41064`)
334+
(Contributed by Pablo Galindo in :issue:`41064`.)
335335
336336
IndentationErrors
337337
~~~~~~~~~~~~~~~~~
@@ -1048,7 +1048,7 @@ keyword-only. This will probably be the most common usage:
10481048
10491049
Here, ``z`` and ``t`` are keyword-only parameters, while ``x`` and
10501050
``y`` are not.
1051-
(Contributed by Eric V. Smith in :issue:`43532`)
1051+
(Contributed by Eric V. Smith in :issue:`43532`.)
10521052
10531053
.. _distutils-deprecated:
10541054
@@ -1266,11 +1266,11 @@ pathlib
12661266
-------
12671267
12681268
Add slice support to :attr:`PurePath.parents <pathlib.PurePath.parents>`.
1269-
(Contributed by Joshua Cannon in :issue:`35498`)
1269+
(Contributed by Joshua Cannon in :issue:`35498`.)
12701270
12711271
Add negative indexing support to :attr:`PurePath.parents
12721272
<pathlib.PurePath.parents>`.
1273-
(Contributed by Yaroslav Pankovych in :issue:`21041`)
1273+
(Contributed by Yaroslav Pankovych in :issue:`21041`.)
12741274
12751275
Add :meth:`Path.hardlink_to <pathlib.Path.hardlink_to>` method that
12761276
supersedes :meth:`~pathlib.Path.link_to`. The new method has the same argument
@@ -1288,7 +1288,7 @@ platform
12881288
Add :func:`platform.freedesktop_os_release()` to retrieve operation system
12891289
identification from `freedesktop.org os-release
12901290
<https://www.freedesktop.org/software/systemd/man/os-release.html>`_ standard file.
1291-
(Contributed by Christian Heimes in :issue:`28468`)
1291+
(Contributed by Christian Heimes in :issue:`28468`.)
12921292
12931293
pprint
12941294
------
@@ -1473,22 +1473,22 @@ and to match the behavior of static type checkers specified in the PEP.
14731473
14741474
Add new function :func:`typing.is_typeddict` to introspect if an annotation
14751475
is a :class:`typing.TypedDict`.
1476-
(Contributed by Patrick Reader in :issue:`41792`)
1476+
(Contributed by Patrick Reader in :issue:`41792`.)
14771477
14781478
Subclasses of ``typing.Protocol`` which only have data variables declared
14791479
will now raise a ``TypeError`` when checked with ``isinstance`` unless they
14801480
are decorated with :func:`runtime_checkable`. Previously, these checks
14811481
passed silently. Users should decorate their
14821482
subclasses with the :func:`runtime_checkable` decorator
14831483
if they want runtime protocols.
1484-
(Contributed by Yurii Karabas in :issue:`38908`)
1484+
(Contributed by Yurii Karabas in :issue:`38908`.)
14851485
14861486
Importing from the ``typing.io`` and ``typing.re`` submodules will now emit
14871487
:exc:`DeprecationWarning`. These submodules have been deprecated since
14881488
Python 3.8 and will be removed in a future version of Python. Anything
14891489
belonging to those submodules should be imported directly from
14901490
:mod:`typing` instead.
1491-
(Contributed by Sebastian Rittau in :issue:`38291`)
1491+
(Contributed by Sebastian Rittau in :issue:`38291`.)
14921492
14931493
unittest
14941494
--------
@@ -1566,7 +1566,7 @@ Optimizations
15661566
strings, and the function object lazily converts this into the annotations dict
15671567
on demand. This optimization cuts the CPU time needed to define an annotated
15681568
function by half.
1569-
(Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`)
1569+
(Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`.)
15701570
15711571
* Substring search functions such as ``str1 in str2`` and ``str2.find(str1)``
15721572
now sometimes use Crochemore & Perrin's "Two-Way" string searching
@@ -1575,16 +1575,16 @@ Optimizations
15751575
15761576
* Add micro-optimizations to ``_PyType_Lookup()`` to improve type attribute cache lookup
15771577
performance in the common case of cache hits. This makes the interpreter 1.04 times faster
1578-
on average. (Contributed by Dino Viehland in :issue:`43452`)
1578+
on average. (Contributed by Dino Viehland in :issue:`43452`.)
15791579
15801580
* The following built-in functions now support the faster :pep:`590` vectorcall calling convention:
15811581
:func:`map`, :func:`filter`, :func:`reversed`, :func:`bool` and :func:`float`.
1582-
(Contributed by Dong-hee Na and Jeroen Demeyer in :issue:`43575`, :issue:`43287`, :issue:`41922`, :issue:`41873` and :issue:`41870`)
1582+
(Contributed by Dong-hee Na and Jeroen Demeyer in :issue:`43575`, :issue:`43287`, :issue:`41922`, :issue:`41873` and :issue:`41870`.)
15831583
15841584
* :class:`BZ2File` performance is improved by removing internal ``RLock``.
15851585
This makes :class:`BZ2File` thread unsafe in the face of multiple simultaneous
15861586
readers or writers, just like its equivalent classes in :mod:`gzip` and
1587-
:mod:`lzma` have always been. (Contributed by Inada Naoki in :issue:`43785`).
1587+
:mod:`lzma` have always been. (Contributed by Inada Naoki in :issue:`43785`.)
15881588
15891589
.. _whatsnew310-deprecated:
15901590
@@ -1600,7 +1600,7 @@ Deprecated
16001600
:keyword:`for`, :keyword:`if`, :keyword:`in`, :keyword:`is` and :keyword:`or`.
16011601
In future releases it will be changed to syntax warning, and finally to
16021602
syntax error.
1603-
(Contributed by Serhiy Storchaka in :issue:`43833`).
1603+
(Contributed by Serhiy Storchaka in :issue:`43833`.)
16041604
16051605
* Starting in this release, there will be a concerted effort to begin
16061606
cleaning up old import semantics that were kept for Python 2.7
@@ -1788,7 +1788,7 @@ Deprecated
17881788
:exc:`DeprecationWarning`. These submodules will be removed in a future version
17891789
of Python. Anything belonging to these submodules should be imported directly
17901790
from :mod:`typing` instead.
1791-
(Contributed by Sebastian Rittau in :issue:`38291`)
1791+
(Contributed by Sebastian Rittau in :issue:`38291`.)
17921792
17931793
.. _whatsnew310-removed:
17941794
@@ -1871,7 +1871,7 @@ Changes in the Python syntax
18711871
syntax error. To get rid of the warning and make the code compatible with
18721872
future releases just add a space between the numeric literal and the
18731873
following keyword.
1874-
(Contributed by Serhiy Storchaka in :issue:`43833`).
1874+
(Contributed by Serhiy Storchaka in :issue:`43833`.)
18751875
18761876
.. _changes-python-api:
18771877
@@ -1981,7 +1981,7 @@ CPython bytecode changes
19811981
19821982
* The ``MAKE_FUNCTION`` instruction now accepts either a dict or a tuple of
19831983
strings as the function's annotations.
1984-
(Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`)
1984+
(Contributed by Yurii Karabas and Inada Naoki in :issue:`42202`.)
19851985
19861986
Build Changes
19871987
=============
@@ -2197,7 +2197,7 @@ Porting to Python 3.10
21972197
directory. These files must not be included directly, as they are already
21982198
included in ``Python.h``: :ref:`Include Files <api-includes>`. If they have
21992199
been included directly, consider including ``Python.h`` instead.
2200-
(Contributed by Nicholas Sim in :issue:`35134`)
2200+
(Contributed by Nicholas Sim in :issue:`35134`.)
22012201
22022202
* Use the :c:data:`Py_TPFLAGS_IMMUTABLETYPE` type flag to create immutable type
22032203
objects. Do not rely on :c:data:`Py_TPFLAGS_HEAPTYPE` to decide if a type
@@ -2207,7 +2207,7 @@ Porting to Python 3.10
22072207
22082208
* The undocumented function ``Py_FrozenMain`` has been removed from the
22092209
limited API. The function is mainly useful for custom builds of Python.
2210-
(Contributed by Petr Viktorin in :issue:`26241`)
2210+
(Contributed by Petr Viktorin in :issue:`26241`.)
22112211
22122212
Deprecated
22132213
----------

0 commit comments

Comments
 (0)