summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-12-22 14:24:04 (GMT)
committerGuido van Rossum <guido@python.org>1992-12-22 14:24:04 (GMT)
commitde788b82610d99c9f81efc9eb8629075d60530ce (patch)
treede33fe5508e80adf099971babe78a89dd37c61e4 /Objects
parentde3adf9ef7d699958b2fcc4f64b2bd35eee2fb75 (diff)
downloadcpython-de788b82610d99c9f81efc9eb8629075d60530ce.zip
cpython-de788b82610d99c9f81efc9eb8629075d60530ce.tar.gz
cpython-de788b82610d99c9f81efc9eb8629075d60530ce.tar.bz2
fileobject.c: fix nasty bug; Makefile; turn on STROP and change lint flags.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 52dd668..00020dc 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -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;
}