예제 #1
0
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
예제 #2
0
파일: runner.py 프로젝트: ieure/pypy
 def instanceof(box):
     obj = box.getref(ootype.ROOT)
     return history.BoxInt(ootype.instanceof(obj, TYPE))
예제 #3
0
파일: runner.py 프로젝트: purepython/pypy
 def instanceof(box):
     obj = box.getref(ootype.ROOT)
     return history.BoxInt(ootype.instanceof(obj, TYPE))
예제 #4
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)
예제 #5
0
파일: ooopimpl.py 프로젝트: njues/Sypy
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)