コード例 #1
0
ファイル: HotSpotterAPI.py プロジェクト: Erotemic/hotspotter
def __define_method(hs, method_name):
    from hotspotter import HotSpotterAPI as api
    api.rrr()
    method_name = 'cx2_tnx'
    hs.__dict__[method_name] = lambda *args: api.__dict__['_' + method_name](hs, *args)
コード例 #2
0
ファイル: HotSpotterAPI.py プロジェクト: warunanc/hotspotter
def __define_method(hs, method_name):
    from hotspotter import HotSpotterAPI as api
    api.rrr()
    method_name = 'cx2_tnx'
    hs.__dict__[method_name] = lambda *args: api.__dict__['_' + method_name](
        hs, *args)