Skip to content

Commit 9c36e32

Browse files
committed
address review: add to whatsnew
1 parent 8d27a2b commit 9c36e32

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,18 @@ typing
144144
(Contributed by Bénédikt Tran in :gh:`133823`.)
145145

146146

147+
Others
148+
------
149+
150+
* Removed support for handling returned
151+
non-:class:`float`/:class:`complex` types from
152+
:meth:`~object.__float__` and :meth:`~object.__complex__`,
153+
respectively. This had previously raised a
154+
:exc:`DeprecationWarning` since Python 3.7.
155+
(Contributed by Sergey B Kirpichev in :gh:`109311`.)
156+
157+
158+
147159
Porting to Python 3.15
148160
======================
149161

0 commit comments

Comments
 (0)