Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r59420:7343ddfdbff3
Date: 2012-12-13 15:46 -0800
http://bitbucket.org/pypy/pypy/changeset/7343ddfdbff3/

Log:    compile doesn't accept code objects

diff --git a/pypy/module/__builtin__/compiling.py 
b/pypy/module/__builtin__/compiling.py
--- a/pypy/module/__builtin__/compiling.py
+++ b/pypy/module/__builtin__/compiling.py
@@ -39,7 +39,7 @@
         ast_node.sync_app_attrs(space)
     else:
         source, flags = source_as_str(space, w_source, 'compile',
-                                      "string, bytes, AST or code", flags)
+                                      "string, bytes or AST", flags)
 
     if not dont_inherit:
         caller = ec.gettopframe_nohidden()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to