Skip to content

Commit 4aff923

Browse files
committed
fix: Final resolution for W293 whitespace
1 parent e9951f9 commit 4aff923

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

other/palindrome_check.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ def is_palindrome(text: str) -> bool:
2828
# is using slicing: text[::-1].
2929
# We compare the original string with its reversed version.
3030
return text == text[::-1]
31-
32-
3331
if __name__ == "__main__":
3432
# Standard boilerplate for running documentation examples as tests.
3533
import doctest
36-
doctest.testmod()
37-
34+
doctest.testmod()

0 commit comments

Comments
 (0)