diff options
Diffstat (limited to 'Lib/compiler/pycodegen.py')
| -rw-r--r-- | Lib/compiler/pycodegen.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py index 04c115a7c3..7bc17958cf 100644 --- a/Lib/compiler/pycodegen.py +++ b/Lib/compiler/pycodegen.py @@ -49,7 +49,7 @@ def compile(filename, display=0):      try:          mod.compile(display)      except SyntaxError, err: -        print "SyntaxError:", err +        raise      else:          f = open(filename + "c", "wb")          mod.dump(f) | 
