Skip to content

Commit 79f54eb

Browse files
committed
fix thing
1 parent ef9fac7 commit 79f54eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: my.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def decorated(*args, **kw):
3636
acc += 1
3737
now = time.time()
3838
if now - last_time > interval:
39-
print(f'{func.__name__}: {format(
39+
print(f'''{func.__name__}: {format(
4040
acc / interval, format_str,
41-
)} Hz')
41+
)} Hz''')
4242
acc = 0
4343
last_time = now
4444
return func(*args, **kw)

0 commit comments

Comments
 (0)