diff --git a/pattern.py b/pattern.py index e02e2b2..8dd317f 100644 --- a/pattern.py +++ b/pattern.py @@ -71,10 +71,10 @@ def jez(target, arg, index): def _apply(index, target, arg, func): if type(arg) is int: - print("{} {} {}".format(func, target, arg)) + print("{} {} {} {}".format(index, func.__name__, target, arg)) return func(target, arg, index) elif type(arg) is str and arg in this.values: - print("{} {} {}".format(func, target, this.values[arg])) + print("{} {} {} {}".format(index, func.__name__, target, this.values[arg])) return func(target, this.values[arg], index)