mirror of https://github.com/python/cpython
fileobject.c: fix nasty bug; Makefile; turn on STROP and change lint flags.
This commit is contained in:
parent
de3adf9ef7
commit
de788b8261
|
@ -440,7 +440,7 @@ filegetline(f, n)
|
|||
resizestring(&result, len-1);
|
||||
else {
|
||||
object *v;
|
||||
v == newsizedstringobject(s, len-1);
|
||||
v = newsizedstringobject(s, len-1);
|
||||
DECREF(result);
|
||||
result = v;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue