cpython/Misc/NEWS.d/next/Library/2020-05-27-22-19-42.bpo-407...

3 lines
154 B
ReStructuredText

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