Mercurial > cpython-lru_cache-weakref
diff Objects/structseq.c @ 37304:79a0f080f898 legacy-trunk
Remove unnecessary casts in type object initializers.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 30 Mar 2006 11:57:00 +0000 |
| parents | dba6494735d0 |
| children | 353fe06dab5b |
line wrap: on
line diff
--- a/Objects/structseq.c Thu Mar 30 11:51:58 2006 +0000 +++ b/Objects/structseq.c Thu Mar 30 11:57:00 2006 +0000 @@ -315,7 +315,7 @@ 0, /* tp_as_number */ &structseq_as_sequence, /* tp_as_sequence */ 0, /* tp_as_mapping */ - (hashfunc)structseq_hash, /* tp_hash */ + structseq_hash, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ 0, /* tp_getattro */
