summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-11 20:21:57 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-11 20:21:57 (GMT)
commit4f92ca4022cfde233b1c9773c147f169a6237d9a (patch)
tree8c2c4b01ecd0520ac9c28bc5fa18ae87dc8762a0 /Objects/setobject.c
parent624a7893ea53295d072e3392736b26a3c3f569f7 (diff)
downloadcpython-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/setobject.c')
-rw-r--r--Objects/setobject.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 4456ef4..e5c89e5 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -2015,12 +2015,9 @@ static PyNumberMethods set_as_number = {
(binaryfunc)set_and, /*nb_and*/
(binaryfunc)set_xor, /*nb_xor*/
(binaryfunc)set_or, /*nb_or*/
- 0, /*nb_reserved*/
0, /*nb_int*/
0, /*nb_long*/
0, /*nb_float*/
- 0, /*nb_oct*/
- 0, /*nb_hex*/
0, /*nb_inplace_add*/
(binaryfunc)set_isub, /*nb_inplace_subtract*/
0, /*nb_inplace_multiply*/