Skip to content

Commit a6ce625

Browse files
author
cclauss
authored
Mark TabError as noqa to silence linters on Python 3
1 parent 39480cc commit a6ce625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mixed_tabs_and_spaces.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ def square(x):
22
sum_so_far = 0
33
for counter in range(x):
44
sum_so_far = sum_so_far + x
5-
return sum_so_far
5+
return sum_so_far # noqa Python 3 will raise a TabError here
66

77
print(square(10))

0 commit comments

Comments
 (0)