summaryrefslogtreecommitdiff
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-09 06:21:27 +0000
committerFred Drake <fdrake@acm.org>2000-07-09 06:21:27 +0000
commit45cfbcccc287ae52656737466ca071ca18f603c7 (patch)
tree01965036705de6815adcf78e2938de5ffaf85c26 /Objects/typeobject.c
parentee238b977fb7a58a4b88bdab087579d067df6451 (diff)
downloadcpython-git-45cfbcccc287ae52656737466ca071ca18f603c7.tar.gz
ANSI-fication of the sources.
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);