pylib/uxml/uxpath/functions.py
def number_arg(ctx, obj):
    '''
    Handles LiteralObjects as well as computable arguments
    '''
    if hasattr(obj, 'compute'):
        obj = next(obj.compute(ctx), False)
    return to_number(obj)
def number_arg(ctx, obj):
    '''
    Handles LiteralObjects as well as computable arguments
    '''
    if hasattr(obj, 'compute'):
        obj = next(obj.compute(ctx), False)
    return to_number(obj)
def number_arg ( ctx , obj ) : if hasattr ( obj , 'compute' ) : obj = next ( obj . compute ( ctx ) , False ) return to_number ( obj )
Handles LiteralObjects as well as computable arguments
Handles LiteralObjects as well as computable arguments