(token, local_dict, global_dict, nextToken=None)
return callable(func) and not isinstance(func, sympy.Symbol)
Predicate for whether a token name represents a callable function.

    Essentially wraps ``callable``, but looks up the token name in the
    locals and globals.
Predicate for whether a token name represents a callable function.
Predicate for whether a token name represents a callable function .
def _token_callable(token, local_dict, global_dict, nextToken=None):
    """
    Predicate for whether a token name represents a callable function.

    Essentially wraps ``callable``, but looks up the token name in the
    locals and globals.
    """
    func = local_dict.get(token[1])
    if not func:
        func = global_dict.get(token[1])
    return callable(func) and not isinstance(func, sympy.Symbol)
def _token_callable ( token , local_dict , global_dict , nextToken = None ) : func = local_dict . get ( token [ 1 ] ) if not func : func = global_dict . get ( token [ 1 ] ) return callable ( func ) and not isinstance ( func , sympy . Symbol )