Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Glossary
that it contains :keyword:`yield` expressions for producing a series of
values usable in an :keyword:`async for` loop.

Usually refers to a asynchronous generator function, but may refer to an
Usually refers to an asynchronous generator function, but may refer to an
*asynchronous generator iterator* in some contexts. In cases where the
intended meaning isn't clear, using the full terms avoids ambiguity.

Expand Down Expand Up @@ -389,7 +389,7 @@ Glossary
An :term:`annotation` of a function parameter or return value.

Function annotations are usually used for
:term:`type hints <type hint>`: for example this function is expected to take two
:term:`type hints <type hint>`: for example, this function is expected to take two
:class:`int` arguments and is also expected to have an :class:`int`
return value::

Expand Down
14 changes: 7 additions & 7 deletions Doc/whatsnew/3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ can be set within the scope of a group.
(Contributed by Serhiy Storchaka in :issue:`25054`.)

Regular expressions compiled with the :const:`re.LOCALE` flag no longer
depend on the locale at compile time. Locale settings are applied only
depends on the locale at compile time. Locale settings are applied only
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is correct.

when the compiled regular expression is used.
(Contributed by Serhiy Storchaka in :issue:`30215`.)

Expand Down Expand Up @@ -1264,7 +1264,7 @@ The :mod:`socket` module now exposes the :data:`socket.TCP_CONGESTION`
(Contributed by Omar Sandoval in :issue:`26273` and
Nathaniel J. Smith in :issue:`29728`.)

Support for :data:`socket.AF_VSOCK` sockets has been added to allow
Support for :data:`socket.AF_VSOCK` sockets have been added to allow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have doubts about this.

communication between virtual machines and their hosts.
(Contributed by Cathy Avery in :issue:`27584`.)

Expand Down Expand Up @@ -1378,7 +1378,7 @@ This is equivalent to passing :data:`subprocess.PIPE` as *stdout* and
(Contributed by Bo Bayles in :issue:`32102`.)

The ``subprocess.run`` function and the :class:`subprocess.Popen` constructor
now accept the *text* keyword argument as an alias
now accepts the *text* keyword argument as an alias
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have doubts about this.

to *universal_newlines*.
(Contributed by Andrew Clegg in :issue:`31756`.)

Expand Down Expand Up @@ -1676,7 +1676,7 @@ Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
:issue:`16500`.)

The ``PyExc_RecursionErrorInst`` singleton that was part of the public API
has been removed as its members being never cleared may cause a segfault
has been removed as its members were never cleared may cause a segfault
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have doubts about this.

during finalization of the interpreter. Contributed by Xavier de Gaye in
:issue:`22898` and :issue:`30697`.

Expand Down Expand Up @@ -1855,7 +1855,7 @@ Significant speed improvements to alternate constructors for
constructors when not constructing subclasses. (Contributed by Paul Ganssle
in :issue:`32403`)

The speed of comparison of :class:`array.array` instances has been
The speed of comparison of :class:`array.array` instances have been
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is correct.

improved considerably in certain cases. It is now from 10x to 70x faster
when comparing arrays holding values of the same integer type.
(Contributed by Adrian Wielgosik in :issue:`24700`.)
Expand Down Expand Up @@ -1930,7 +1930,7 @@ asyncio
-------

Support for directly ``await``-ing instances of :class:`asyncio.Lock` and
other asyncio synchronization primitives has been deprecated. An
other asyncio synchronization primitives have been deprecated. An
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have doubts about this.

asynchronous context manager must be used in order to acquire and release
the synchronization resource.
(Contributed by Andrew Svetlov in :issue:`32253`.)
Expand Down Expand Up @@ -2378,7 +2378,7 @@ Changes in the Python API
instances.
(Contributed by Yury Selivanov in :issue:`32327`.)

* :attr:`asyncio.Server.sockets` now returns a copy of the internal list
* :attr:`asyncio.Server.sockets` now return a copy of the internal list
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is correct.

of server sockets, instead of returning it directly.
(Contributed by Yury Selivanov in :issue:`32662`.)

Expand Down