summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2007-09-21 20:19:23 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2007-09-21 20:19:23 (GMT)
commit16c7075164abe85f7cf750d6b63ee2b5ddaa2f54 (patch)
treefffa0bfcdd832cc4d5cb323748b74c13796344e6 /Tools
parent8ce81f767a48e9e645c523137c7f83e49f79f986 (diff)
downloadcpython-16c7075164abe85f7cf750d6b63ee2b5ddaa2f54.zip
cpython-16c7075164abe85f7cf750d6b63ee2b5ddaa2f54.tar.gz
cpython-16c7075164abe85f7cf750d6b63ee2b5ddaa2f54.tar.bz2
Remove more cruft leftover from nb_coerce. Rename nb_coerce to
nb_reserved.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/modulator/Templates/object_tp_as_number7
1 files changed, 0 insertions, 7 deletions
diff --git a/Tools/modulator/Templates/object_tp_as_number b/Tools/modulator/Templates/object_tp_as_number
index e69aa9a..a3426c2 100644
--- a/Tools/modulator/Templates/object_tp_as_number
+++ b/Tools/modulator/Templates/object_tp_as_number
@@ -103,13 +103,6 @@ $abbrev$_or($abbrev$object *v, $abbrev$object *w)
/* XXXX */
}
-static int
-$abbrev$_coerce(PyObject **pv, PyObject **pw)
-{
- /* XXXX I haven't a clue... */
- return 1;
-}
-
static PyObject *
$abbrev$_int($abbrev$object *v)
{