Commits

Michael Hudson-Doyle committed 7632209

add an "import sys"

  • Participants
  • Parent commits 0e11d97

Comments (0)

Files changed (1)

File pypy/objspace/std/cpythonobject.py

 from pypy.objspace.std.objspace import *
 from stringobject import W_StringObject
 
-
 class W_CPythonObject:
     "Temporary class!  This one wraps *any* CPython object."
 
     try:
         result = apply(callable, args)
     except:
+        import sys
         raise OperationError(*sys.exc_info()[:2])
     return space.wrap(result)