cpython/Misc/NEWS.d/next/C API/2020-05-27-11-02-15.bpo-407...

3 lines
156 B
ReStructuredText

The result of :c:func:`PyNumber_Index` now always has exact type :class:`int`.
Previously, the result could have been an instance of a subclass of ``int``.