summaryrefslogtreecommitdiff
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 059f7ce264..250350497d 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -15,9 +15,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Type object implementation */
static PyObject *
-type_getattr(t, name)
- PyTypeObject *t;
- char *name;
+type_getattr(PyTypeObject *t, char *name)
{
if (strcmp(name, "__name__") == 0)
return PyString_FromString(t->tp_name);
@@ -35,8 +33,7 @@ type_getattr(t, name)
}
static PyObject *
-type_repr(v)
- PyTypeObject *v;
+type_repr(PyTypeObject *v)
{
char buf[100];
sprintf(buf, "<type '%.80s'>", v->tp_name);