mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 21:40:51 -05:00
## Summary Rule B005 of flake8-bugbear docs has a typo in one of the examples that leads to a confusion in the correctness of `.strip()` method  ```python # Wrong output (used in docs) "text.txt".strip(".txt") # "ex" # Correct output "text.txt".strip(".txt") # "e" ```