3
0
Fork 0
forked from mirrors/linux
kernel/scripts/lib/kdoc
Mauro Carvalho Chehab 78ea748f79 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
2025-04-09 12:10:34 -06:00
..
kdoc_files.py scripts/kernel-doc.py: adjust some coding style issues 2025-04-09 12:10:34 -06:00
kdoc_output.py scripts/lib/kdoc/kdoc_parser.py: fix Python compat with < v3.13 2025-04-09 12:10:34 -06:00
kdoc_parser.py scripts/lib/kdoc/kdoc_parser.py: fix Python compat with < v3.13 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