aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2025-04-08 10:09:30 +0000
committerJonathan Corbet <[email protected]>2025-04-09 18:10:34 +0000
commite4b2bd908c3d8f071d4fac6e588fffc6110c1b1f (patch)
tree8edcb680cf306d76f968d57c2d45d885e4d9a13a /scripts/lib/kdoc/kdoc_output.py
parentscripts/kernel-doc.py: properly handle KBUILD_BUILD_TIMESTAMP (diff)
downloadkernel-e4b2bd908c3d8f071d4fac6e588fffc6110c1b1f.tar.gz
kernel-e4b2bd908c3d8f071d4fac6e588fffc6110c1b1f.zip
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 <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/f64cc4adef107ada26da4bfb7e4b7002dd783173.1744106242.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions