summaryrefslogtreecommitdiffstats
path: root/Objects/descrobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-03-30 11:57:00 (GMT)
committerGeorg Brandl <georg@python.org>2006-03-30 11:57:00 (GMT)
commit347b30042b68e80b245a03b23cb616024ecb1f1e (patch)
tree56c43f8b23f0ec425aa3c122b5b7eca975770e62 /Objects/descrobject.c
parent3987df5adf6ce821a290bd6e741fbcd8e0589fd8 (diff)
downloadcpython-347b30042b68e80b245a03b23cb616024ecb1f1e.zip
cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.tar.gz
cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.tar.bz2
Remove unnecessary casts in type object initializers.
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r--Objects/descrobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index 9494062..bfa25e9 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -480,7 +480,7 @@ static PyTypeObject PyMemberDescr_Type = {
0, /* tp_as_sequence */
0, /* tp_as_mapping */
0, /* tp_hash */
- (ternaryfunc)0, /* tp_call */
+ 0, /* tp_call */
0, /* tp_str */
PyObject_GenericGetAttr, /* tp_getattro */
0, /* tp_setattro */
@@ -518,7 +518,7 @@ static PyTypeObject PyGetSetDescr_Type = {
0, /* tp_as_sequence */
0, /* tp_as_mapping */
0, /* tp_hash */
- (ternaryfunc)0, /* tp_call */
+ 0, /* tp_call */
0, /* tp_str */
PyObject_GenericGetAttr, /* tp_getattro */
0, /* tp_setattro */