def call(*terms, **kwargs):
    """Call term in module.
    ``term``: a Term or term handle
    """
    for kwarg in kwargs:
        if kwarg not in ["module"]:
            raise KeyError

    module = kwargs.get("module", None)

    t = terms[0]
    for tx in terms[1:]:
        t = _comma(t, tx)

    return PL_call(t.handle, module)
def call ( * terms , ** kwargs ) : for kwarg in kwargs : if kwarg not in [ "module" ] : raise KeyError module = kwargs . get ( "module" , None ) t = terms [ 0 ] for tx in terms [ 1 : ] : t = _comma ( t , tx ) return PL_call ( t . handle , module )
Call term in module.
    ``term``: a Term or term handle