Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r59099:731d25080e12
Date: 2012-11-27 17:44 -0800
http://bitbucket.org/pypy/pypy/changeset/731d25080e12/

Log:    typo

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1524,7 +1524,7 @@
             if not hasattr(locals, '__getitem__'):
                 raise TypeError(
                     "exec() arg 3 must be a mapping or None, not %s" %
-                    type(locals.__name__))
+                    type(locals).__name__)
 
         if not isinstance(prog, codetype):
             filename = '<string>'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to