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);
|
resizestring(&result, len-1);
|
||||||
else {
|
else {
|
||||||
object *v;
|
object *v;
|
||||||
v == newsizedstringobject(s, len-1);
|
v = newsizedstringobject(s, len-1);
|
||||||
DECREF(result);
|
DECREF(result);
|
||||||
result = v;
|
result = v;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue