diff options
author | 2025-07-11 09:27:09 +0200 | |
---|---|---|
committer | 2025-07-17 15:29:53 -0600 | |
commit | 39e39af70d066029c788800ee07e0491e07eb081 (patch) | |
tree | 7504a7e8d7dc9d1694307f07384de9012ecb02fd /tools/perf/scripts/python | |
parent | docs: kernel-doc: emit warnings for ancient versions of Python (diff) | |
download | wireguard-linux-39e39af70d066029c788800ee07e0491e07eb081.tar.xz wireguard-linux-39e39af70d066029c788800ee07e0491e07eb081.zip |
scripts: kdoc: make it backward-compatible with Python 3.7
There was a change at kdoc that ended breaking compatibility
with Python 3.7: str.removesuffix() was introduced on version
3.9.
Restore backward compatibility.
Reported-by: Akira Yokosawa <akiyks@gmail.com>
Closes: https://lore.kernel.org/linux-doc/57be9f77-9a94-4cde-aacb-184cae111506@gmail.com/
Fixes: 27ad33b6b349 ("kernel-doc: Fix symbol matching for dropped suffixes")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/d13058d285838ac2bc04c492e60531c013a8a919.1752218291.git.mchehab+huawei@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions