diff options
author | 2025-04-08 18:09:27 +0800 | |
---|---|---|
committer | 2025-04-09 12:10:34 -0600 | |
commit | 78ea748f7978d39a6ee29897d3bd32e6208f74ac (patch) | |
tree | d3aded7d2ba00da9b41b529661615b52de21ad40 /scripts/lib/kdoc/kdoc_files.py | |
parent | scripts/kernel-doc.py: adjust some coding style issues (diff) | |
download | wireguard-linux-78ea748f7978d39a6ee29897d3bd32e6208f74ac.tar.xz wireguard-linux-78ea748f7978d39a6ee29897d3bd32e6208f74ac.zip |
scripts/lib/kdoc/kdoc_parser.py: fix Python compat with < v3.13
- str.replace count was introduced only in Python 3.13;
- before Python 3.13, f-string dict arguments can't use the same
delimiter of the main string.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/e2b8e8361294558dae09236e4b8fbea5d86be5a3.1744106242.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions