Skip to content

Commit 8e04e48

Browse files
skirpichevhugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 849338f commit 8e04e48

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

peps/pep-0791.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Sponsor: Victor Stinner <vstinner@python.org>
55
Discussions-To: Pending
66
Status: Draft
77
Type: Standards Track
8-
Created: 10-May-2025
8+
Created: 12-May-2025
99
Python-Version: 3.15
1010
Post-History: 02-Jun-2019,
1111
`09-May-2025 <https://discuss.python.org/t/91337>`__,
@@ -64,15 +64,15 @@ Modules functions will accept integers and objects that implement the
6464
:external+py3.14:meth:`~object.__index__` method which is used to convert the
6565
object to an integer number.
6666

67-
Possible extensions for the new module and it's scope are discussed in the
67+
Possible extensions for the new module and its scope are discussed in the
6868
`Open Issues <Open Issues_>`_ section. New functions are not part of the
6969
proposal.
7070

7171

7272
Backwards Compatibility
7373
=======================
7474

75-
As aliases in :external+py3.14:mod:`math` will be kept for indefinite time
75+
As aliases in :external+py3.14:mod:`math` will be kept for an indefinite time
7676
(their use would be discouraged), there are no anticipated code breaks.
7777

7878

@@ -92,9 +92,9 @@ Chosen name seems consistent with other domain-specific mathematical module:
9292
:external+py3.14:mod:`cmath` (for complex numbers).
9393

9494
There is already an ``imath`` project on PyPI, but only with two releases, with
95-
the most recent one 4 years ago. Its repository is no longer accessible.
95+
the most recent one four years ago. Its repository is no longer accessible.
9696
The `Imath <https://github.com/AcademySoftwareFoundation/Imath>`_ C++ library
97-
include Python bindings with same name.
97+
include Python bindings with the same name.
9898

9999
`Polling shows <https://discuss.python.org/t/91337/35>`_ ``intmath`` as another
100100
popular name. The argument made was that the normal mathematical spelling of
@@ -118,12 +118,12 @@ There are possible additions, among proposed in the initial discussion thread
118118

119119
* ``c_div()`` --- for integer ceiling divide, see [2]_, [3]_.
120120
* ``gcdext()`` --- to solve linear Diophantine equation in two variables (the
121-
:external+py3.14:class:`int` implementation actually include extended
121+
:external+py3.14:class:`int` implementation actually includes an extended
122122
Euclidean algorithm)
123123
* ``isqrt_rem()`` --- to return both integer square root and a remainder (if
124124
integer isn't a perfect square)
125-
* ``ilog()`` --- integer logarithm, currently :external+py3.14:func:`math.log`
126-
has a special handling for integer arguments. It's unique (wrt other module
125+
* ``ilog()`` --- integer logarithm, :external+py3.14:func:`math.log`
126+
has a special handling for integer arguments. It's unique (with respect to other module
127127
functions) and not documented so far, see [4]_
128128
* ``fibonacci()``.
129129

0 commit comments

Comments
 (0)