diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-11 20:21:57 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-11 20:21:57 (GMT) |
commit | 4f92ca4022cfde233b1c9773c147f169a6237d9a (patch) | |
tree | 8c2c4b01ecd0520ac9c28bc5fa18ae87dc8762a0 /Objects/complexobject.c | |
parent | 624a7893ea53295d072e3392736b26a3c3f569f7 (diff) | |
download | cpython-4f92ca4022cfde233b1c9773c147f169a6237d9a.zip cpython-4f92ca4022cfde233b1c9773c147f169a6237d9a.tar.gz cpython-4f92ca4022cfde233b1c9773c147f169a6237d9a.tar.bz2 |
Remove nb_reserved (nb_coerce), nb_hex, and nb_oct from PyNumberMethods
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r-- | Objects/complexobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 2e501fc..75283a0 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -1067,12 +1067,9 @@ static PyNumberMethods complex_as_number = { 0, /* nb_and */ 0, /* nb_xor */ 0, /* nb_or */ - 0, /* nb_reserved */ complex_int, /* nb_int */ complex_long, /* nb_long */ complex_float, /* nb_float */ - 0, /* nb_oct */ - 0, /* nb_hex */ 0, /* nb_inplace_add */ 0, /* nb_inplace_subtract */ 0, /* nb_inplace_multiply*/ |