Skip to content

Commit 90e0e6b

Browse files
committed
Profile
1 parent bc8e217 commit 90e0e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ def tracer(func):
14011401
"""Prints arguments and output of a decorated function."""
14021402
def out(*args, **kwargs):
14031403
result = func(*args, **kwargs)
1404-
arg_list = [str(x) for x in args]
1404+
arg_list = [repr(x) for x in args]
14051405
arg_list += [f'{k}={v}' for k, v in kwargs.items()]
14061406
arg_str = ', '.join(arg_list)
14071407
print(f'{func.__name__}({arg_str}) = {result}')

0 commit comments

Comments
 (0)