]> granicus.if.org Git - python/commit
Add additional coercion support for "self subtypes" to int, long,
authorGuido van Rossum <guido@python.org>
Wed, 19 Sep 2001 01:25:16 +0000 (01:25 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Sep 2001 01:25:16 +0000 (01:25 +0000)
commit1952e388ca63b8eaa090bef966dd538f78ece208
tree31afd318ac859dfbe337d2cf6e11fc6c10bcb45f
parentd5d8e4a43632d9d4ec9f6fb23f7405c4f0678617
Add additional coercion support for "self subtypes" to int, long,
float (compare the recent checkin to complex).  Added tests for these.
Lib/test/test_descr.py
Objects/floatobject.c
Objects/intobject.c
Objects/longobject.c