Beispiel #1
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"))
Beispiel #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"))