]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
exec() -> exec
authorGuido van Rossum <guido@python.org>
Fri, 11 Aug 1995 14:24:47 +0000 (14:24 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 11 Aug 1995 14:24:47 +0000 (14:24 +0000)
Lib/test/test_exceptions.py

index cf7c50dbe09cc3ebba631f35edecd2092e4106b4..4fbee3e76a1d3a5b6abff176e2d6f75c5fbca3b3 100644 (file)
@@ -66,7 +66,7 @@ r(RuntimeError)
 print '(not used any more?)'
 
 r(SyntaxError)
-try: exec('/\n')
+try: exec '/\n'
 except SyntaxError: pass
 
 r(SystemError)