def pad(*args, **kwargs):
    text, width, align, fillchar = "", 78, 'c', ' '
    nargs = len(args)
    if nargs > 0:
        text = args[0]
    if nargs > 1:
        width = int(args[1]) if args[1].strip().isdigit() else 78
    if nargs > 2:
        align = args[2] if args[2] in ('c', 'l', 'r') else 'c'
    if nargs > 3:
        fillchar = args[3]
    return utils.pad(text, width=width, align=align, fillchar=fillchar)
Reset the context so that it contains no filters (ignores scope)
dataset/ETHPy150Open evennia/evennia/evennia/utils/nested_inlinefuncs.py/pad--crossover with--dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/plugins/filter.py/filter_clear