summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2019-05-20-17-08-26.bpo-36972.3l3SGc.rst
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.8.0b1v3.8.0b1Ɓukasz Langa2019-06-041-1/+0
|
* bpo-36972: Add SupportsIndex (GH-13448)Paul Dagnelie2019-05-221-0/+1
In order to support typing checks calling hex(), oct() and bin() on user-defined classes, a SupportIndex protocol is required. The ability to check these at runtime would be good to add for completeness sake. This is pretty much just a copy of SupportsInt with the names tweaked.