Commits

Philip Jenvey committed 7343ddf

compile doesn't accept code objects

Comments (0)

Files changed (1)

pypy/module/__builtin__/compiling.py

         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()