diff options
author | Guido van Rossum <guido@python.org> | 1998-03-02 02:40:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-03-02 02:40:39 (GMT) |
commit | d8c5b8c90f342767620f70acbb8b56bc2176288a (patch) | |
tree | 9eae4076dc2fb977ccba30e2533d640015e144f8 /Lib/py_compile.py | |
parent | 0829c754bbb7b3ea66801c7da69f6cb189b80543 (diff) | |
download | cpython-d8c5b8c90f342767620f70acbb8b56bc2176288a.zip cpython-d8c5b8c90f342767620f70acbb8b56bc2176288a.tar.gz cpython-d8c5b8c90f342767620f70acbb8b56bc2176288a.tar.bz2 |
Typo (coestring -> codestring) discovered by Mark Hammond.
Diffstat (limited to 'Lib/py_compile.py')
-rw-r--r-- | Lib/py_compile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 7d5837c..c58cc31 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') |