Commits

Tobias Pape committed d0950a7

Include hint to which function is not rpythonic

  • Participants
  • Parent commits 33a9aeb

Comments (0)

Files changed (1)

File rpython/flowspace/objspace.py

     Function is inner function
     Function uses generator expressions
     Lambda expressions
-""")
+in %r""" % (func,))
     if not (func.func_code.co_flags & CO_NEWLOCALS):
         raise ValueError("The code object for a RPython function should have "
                          "the flag CO_NEWLOCALS set.")