mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 17:18:25 +02:00
str.removesuffix() was added on Python 3.9, but rstrip() actually does the same thing, as we just want to remove a single character. It is also shorter. So, use it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/f64cc4adef107ada26da4bfb7e4b7002dd783173.1744106242.git.mchehab+huawei@kernel.org |
||
|---|---|---|
| .. | ||
| kdoc_files.py | ||
| kdoc_output.py | ||
| kdoc_parser.py | ||
| kdoc_re.py | ||