mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Merge #21662: fix typo, improve sentence flow
This commit is contained in:
commit
cc568b1222
1 changed files with 3 additions and 3 deletions
|
|
@ -2106,9 +2106,9 @@ left undefined.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
When :meth:`__index__` is defined, :meth:`__int__` should also be defined,
|
In order to have a coherent integer type class, when :meth:`__index__` is
|
||||||
and both shuld return the same value, in order to have a coherent integer
|
defined :meth:`__int__` should also be defined, and both should return
|
||||||
type class.
|
the same value.
|
||||||
|
|
||||||
|
|
||||||
.. _context-managers:
|
.. _context-managers:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue