summaryrefslogtreecommitdiffstats
path: root/Include/object.h
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 /Include/object.h
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 'Include/object.h')
-rw-r--r--Include/object.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/object.h b/Include/object.h
index 2a7075f..1e92975 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -215,13 +215,9 @@ typedef struct {
binaryfunc nb_and;
binaryfunc nb_xor;
binaryfunc nb_or;
- int nb_reserved; /* unused, used to be nb_coerce */
unaryfunc nb_int;
unaryfunc nb_long;
unaryfunc nb_float;
- /* NB: nb_oct and nb_hex are not used anymore. */
- unaryfunc nb_oct;
- unaryfunc nb_hex;
binaryfunc nb_inplace_add;
binaryfunc nb_inplace_subtract;