When debugging print

This commit is contained in:
Dave Halter
2020-04-03 00:56:59 +02:00
parent c86af743df
commit 12063d42fc

View File

@@ -380,6 +380,7 @@ def _print_tokens(func):
"""
def wrapper(*args, **kwargs):
for token in func(*args, **kwargs):
print(token) # This print is intentional for debugging!
yield token
return wrapper