def script_obj_from_script(script):
    for sc in SUBCLASSES:
        try:
            st = sc.from_script(script)
            return st
        except __HOLE__:
            pass
    return None
dataset/ETHPy150Open richardkiss/pycoin/pycoin/tx/pay_to/__init__.py/script_obj_from_script