示例#1
0
def ll_inst_hash(ins):
    cached = ins._hash_cache_
    if cached == 0:
        cached = ins._hash_cache_ = ootype.ooidentityhash(ins)
    return cached
示例#2
0
文件: llinterp.py 项目: chyyuu/pygirl
 def op_ooidentityhash(self, inst):
     return ootype.ooidentityhash(inst)
示例#3
0
 def op_ooidentityhash(self, inst):
     return ootype.ooidentityhash(inst)
示例#4
0
文件: rclass.py 项目: chyyuu/pygirl
def ll_inst_hash(ins):
    cached = ins._hash_cache_
    if cached == 0:
        cached = ins._hash_cache_ = ootype.ooidentityhash(ins)
    return cached