Skip to content

Commit f92ad97

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 045228f commit f92ad97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/python/decorators2020/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _timer(*args, **kwargs):
1717
t0 = time.perf_counter()
1818
value = func(*args, **kwargs)
1919
t1 = time.perf_counter()
20-
print(f"elapsed time: {t1-t0} seconds")
20+
print(f"elapsed time: {t1 - t0} seconds")
2121
return value
2222

2323
return _timer

0 commit comments

Comments
 (0)