Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 750:a5e6881cebf0 legacy-trunk
lint fix
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 27 Mar 1992 17:31:02 +0000 |
| parents | 07efda2951a8 |
| children | 0cd197947d81 |
line wrap: on
line diff
--- a/Objects/stringobject.c Fri Mar 27 17:30:32 1992 +0000 +++ b/Objects/stringobject.c Fri Mar 27 17:31:02 1992 +0000 @@ -60,6 +60,13 @@ return (object *) op; } +void +stringdealloc(op) + object *op; +{ + DEL(op); +} + unsigned int getstringsize(op) register object *op; @@ -305,7 +312,7 @@ "string", sizeof(stringobject), sizeof(char), - free, /*tp_dealloc*/ + stringdealloc, /*tp_dealloc*/ stringprint, /*tp_print*/ 0, /*tp_getattr*/ 0, /*tp_setattr*/
