1. dqminh
  2. pypy

Commits

Benjamin Peterson  committed d1c3d0f

add missing else

  • Participants
  • Parent commits 834b642
  • Branches default

Comments (0)

Files changed (1)

File pypy/interpreter/baseobjspace.py

View file
             compiler = self.createcompiler()
             expression = compiler.compile(expression, '?', 'eval', 0,
                                          hidden_applevel=hidden_applevel)
+        else:
             raise TypeError, 'space.eval(): expected a string, code or PyCode object'
         return expression.exec_code(self, w_globals, w_locals)