Skip to content

Commit 84241a2

Browse files
committed
Add whatsnew entry
1 parent 6426025 commit 84241a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ Other Language Changes
9292
the :meth:`~object.__int__` method but do not have the
9393
:meth:`~object.__index__` method).
9494
(Contributed by Serhiy Storchaka in :issue:`37999`.)
95+
* If :func:`object.__ipow__` returns :const:`NotImplemented`, the operator will
96+
correctly fall back to :func:`object.__pow__` and :func:`object.__rpow__` as expected.
97+
(Contributed by Alex Shkop in :issue:`38302`.)
9598

9699

97100
New Modules

0 commit comments

Comments
 (0)