From d8c5b8c90f342767620f70acbb8b56bc2176288a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 2 Mar 1998 02:40:39 +0000 Subject: Typo (coestring -> codestring) discovered by Mark Hammond. --- Lib/py_compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 7d5837cc64..c58cc31265 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -50,7 +50,7 @@ def compile(file, cfile=None, dfile=None): codestring = f.read() f.close() if codestring and codestring[-1] != '\n': - coestring = codestring + '\n' + codestring = codestring + '\n' codeobject = __builtin__.compile(codestring, dfile or file, 'exec') if not cfile: cfile = file + (__debug__ and 'c' or 'o') -- cgit v1.2.1