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

benjamin at codespeak.net benjamin at codespeak.net
Wed Jul 22 21:04:56 CEST 2009


Author: benjamin
Date: Wed Jul 22 21:04:53 2009
New Revision: 66513

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py
Log:
another error message tweak

Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py	Wed Jul 22 21:04:53 2009
@@ -206,7 +206,7 @@
     def note_return(self, ret):
         if ret.value:
             if self.is_generator:
-                raise SyntaxError("'return' with argument in generator",
+                raise SyntaxError("'return' with argument inside generator",
                                   ret.lineno, ret.col_offset)
             self.return_with_value = True
             self.ret = ret



More information about the Pypy-commit mailing list