示例#1
0
文件: tools.py 项目: inducer/loopy
 def update_for_BasicSet(self, key_hash, key):  # noqa
     from islpy import Printer
     prn = Printer.to_str(key.get_ctx())
     getattr(prn, "print_"+key._base_name)(key)
     key_hash.update(prn.get_str().encode("utf8"))
示例#2
0
 def update_for_BasicSet(self, key_hash, key):  # noqa
     from islpy import Printer
     prn = Printer.to_str(key.get_ctx())
     getattr(prn, "print_"+key._base_name)(key)
     key_hash.update(prn.get_str().encode("utf8"))