From b9182c3bb4f96840221d47167c0d5a23c0311d4d Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Tue, 10 Nov 2020 19:28:48 -0500 Subject: [PATCH] more debug --- pattern.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)