summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_tp_hash
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-27 23:35:43 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-27 23:35:43 (GMT)
commit9aaee933da8ce390c8c34fc227054b2651264368 (patch)
tree6ae5e879867bf1977da12f9bf050366c2f5087ca /Tools/modulator/Templates/object_tp_hash
parentb9526515b7303e9d09a67f8438902ff01a55abc4 (diff)
downloadcpython-9aaee933da8ce390c8c34fc227054b2651264368.zip
cpython-9aaee933da8ce390c8c34fc227054b2651264368.tar.gz
cpython-9aaee933da8ce390c8c34fc227054b2651264368.tar.bz2
Patches by Jens B. Jorgensen with small mods by me:
- Converted the templates to use ANSI C prototypes (finally!) - Use re in stead of deprecated regex
Diffstat (limited to 'Tools/modulator/Templates/object_tp_hash')
-rw-r--r--Tools/modulator/Templates/object_tp_hash3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/modulator/Templates/object_tp_hash b/Tools/modulator/Templates/object_tp_hash
index 1681b4a..2d63f6a 100644
--- a/Tools/modulator/Templates/object_tp_hash
+++ b/Tools/modulator/Templates/object_tp_hash
@@ -1,7 +1,6 @@
static long
-$abbrev$_hash(self)
- $abbrev$object *self;
+$abbrev$_hash($abbrev$object *self)
{
/* XXXX Return a hash of self (or -1) */
}