Commit 5429be1
authored
[refactor] Remove orphaned lowercase-l-suffix check (dead since 2018) (#10876)
The W0332 "lowercase-l-suffix" message was a Python 2-only check
(maxversion: 3.0) that flagged `123l` vs `123L` for long integers.
Its message definition was removed in May 2018 (commit 41d47dd,
"Remove a couple of Python 2 specific checks", closes #1896), but the
check code (`if string.endswith("l")`) survived as dead code — the
unregistered message would fail if it ever triggered, which it can't
since Python 3's tokenizer never produces tokens ending in `l`.1 parent 0cdc6e8 commit 5429be1
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 454 | | |
458 | 455 | | |
459 | 456 | | |
| |||
0 commit comments