Commit 5c86d45a authored by Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 79070 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79070 | benjamin.peterson | 2010-03-18 17:44:54 -0500 (Thu, 18 Mar 2010) | 1 line

  these lines can now be dispensed with
........
parent 4222e9c0
......@@ -112,8 +112,6 @@ def compile(file, cfile=None, dfile=None, doraise=False):
except AttributeError:
timestamp = int(os.stat(file).st_mtime)
codestring = f.read()
if codestring and codestring[-1] != '\n':
codestring = codestring + '\n'
try:
codeobject = builtins.compile(codestring, dfile or file,'exec')
except Exception as err:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment