]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Typo (coestring -> codestring) discovered by Mark Hammond.
authorGuido van Rossum <guido@python.org>
Mon, 2 Mar 1998 02:40:39 +0000 (02:40 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 2 Mar 1998 02:40:39 +0000 (02:40 +0000)
Lib/py_compile.py

index 7d5837cc643771cc8e6e54803a0d4ed0fee50beb..c58cc312656d03f7f04203f75fe804c3ae15a2ad 100644 (file)
@@ -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')