diff options
author | Georg Brandl <georg@python.org> | 2006-03-30 11:57:00 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-03-30 11:57:00 (GMT) |
commit | 347b30042b68e80b245a03b23cb616024ecb1f1e (patch) | |
tree | 56c43f8b23f0ec425aa3c122b5b7eca975770e62 /Objects/structseq.c | |
parent | 3987df5adf6ce821a290bd6e741fbcd8e0589fd8 (diff) | |
download | cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.zip cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.tar.gz cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.tar.bz2 |
Remove unnecessary casts in type object initializers.
Diffstat (limited to 'Objects/structseq.c')
-rw-r--r-- | Objects/structseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c index 218d0b4..e1e7cfa 100644 --- a/Objects/structseq.c +++ b/Objects/structseq.c @@ -315,7 +315,7 @@ static PyTypeObject _struct_sequence_template = { 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 */ |