Mercurial > cpython-lru_cache-weakref
diff Include/classobject.h @ 387:f01aee6155b3 legacy-trunk
newclassobject gets a third parameter (optional class name)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 20 Oct 1991 20:12:10 +0000 |
| parents | 7819e1615320 |
| children | 164849f56105 |
line wrap: on
line diff
--- a/Include/classobject.h Sun Oct 20 20:11:48 1991 +0000 +++ b/Include/classobject.h Sun Oct 20 20:12:10 1991 +0000 @@ -36,7 +36,7 @@ #define is_instanceobject(op) ((op)->ob_type == &Instancetype) #define is_instancemethodobject(op) ((op)->ob_type == &Instancemethodtype) -extern object *newclassobject PROTO((object *, object *)); +extern object *newclassobject PROTO((object *, object *, object *)); extern object *newinstanceobject PROTO((object *)); extern object *newinstancemethodobject PROTO((object *, object *));
