mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
lint fix
This commit is contained in:
parent
dcc6ef2144
commit
719f5fa86a
2 changed files with 11 additions and 3 deletions
|
@ -60,6 +60,13 @@ newstringobject(str)
|
|||
return (object *) op;
|
||||
}
|
||||
|
||||
void
|
||||
stringdealloc(op)
|
||||
object *op;
|
||||
{
|
||||
DEL(op);
|
||||
}
|
||||
|
||||
unsigned int
|
||||
getstringsize(op)
|
||||
register object *op;
|
||||
|
@ -305,7 +312,7 @@ typeobject Stringtype = {
|
|||
"string",
|
||||
sizeof(stringobject),
|
||||
sizeof(char),
|
||||
free, /*tp_dealloc*/
|
||||
stringdealloc, /*tp_dealloc*/
|
||||
stringprint, /*tp_print*/
|
||||
0, /*tp_getattr*/
|
||||
0, /*tp_setattr*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue