2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/scripts/lib/kdoc
Mauro Carvalho Chehab e4b2bd908c scripts/lib/kdoc/kdoc_parser.py: remove a python 3.9 dependency
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
2025-04-09 12:10:34 -06:00
..
kdoc_files.py scripts/kernel-doc.py: properly handle KBUILD_BUILD_TIMESTAMP 2025-04-09 12:10:34 -06:00
kdoc_output.py scripts/kernel-doc.py: properly handle KBUILD_BUILD_TIMESTAMP 2025-04-09 12:10:34 -06:00
kdoc_parser.py scripts/lib/kdoc/kdoc_parser.py: remove a python 3.9 dependency 2025-04-09 12:10:34 -06:00
kdoc_re.py scripts/kernel-doc.py: adjust some coding style issues 2025-04-09 12:10:34 -06:00