[pypy-svn] r66336 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler

benjamin at codespeak.net benjamin at codespeak.net
Fri Jul 17 23:47:27 CEST 2009


Author: benjamin
Date: Fri Jul 17 23:47:27 2009
New Revision: 66336

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py
Log:
typo

Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/codegen.py	Fri Jul 17 23:47:27 2009
@@ -167,7 +167,7 @@
         try:
             op = kind[ctx]
         except KeyError:
-            if kind is names_ops_deref and ctx == ast.Del:
+            if kind is name_ops_deref and ctx == ast.Del:
                 raise SyntaxError("Can't delete variable used in "
                                   "nested scopes: %r" % (identifier,))
             raise AssertionError("Unkown name operation")



More information about the Pypy-commit mailing list