Typo (coestring -> codestring) discovered by Mark Hammond.

This commit is contained in:
Guido van Rossum 1998-03-02 02:40:39 +00:00
parent 0829c754bb
commit d8c5b8c90f
1 changed files with 1 additions and 1 deletions

View 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')