mirror of
https://github.com/python/cpython.git
synced 2026-05-27 06:42:27 -04:00
3a313e3655
__oct__, and __hex__. Raise TypeError if an invalid type is returned. Note that PyNumber_Int and PyNumber_Long can still return ints or longs. Fixes SF bug #966618.