mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-04 20:38:06 +02:00
Mark TabError as noqa to silence linters on Python 3
This commit is contained in:
parent
39480cc579
commit
a6ce6259fa
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ def square(x):
|
|||
sum_so_far = 0
|
||||
for counter in range(x):
|
||||
sum_so_far = sum_so_far + x
|
||||
return sum_so_far
|
||||
return sum_so_far # noqa Python 3 will raise a TabError here
|
||||
|
||||
print(square(10))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue