]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Subclasses of int/long are allowed to define an __index__.
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 15 Aug 2006 06:29:03 +0000 (06:29 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 15 Aug 2006 06:29:03 +0000 (06:29 +0000)
commit271a8689e98bc725ca9207dee52443d61f99211f
tree8b9ff92c386916fe9762d598080332d848689e1f
parent6e482569c8cba727d803e2283ae1481c5c308d54
Subclasses of int/long are allowed to define an __index__.
Lib/test/test_index.py
Objects/abstract.c