aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2025-06-30 15:33:23 +0000
committerJonathan Corbet <[email protected]>2025-06-30 15:56:01 +0000
commit09b9297478a3da4d940af8ff8c5f8e27be4990e8 (patch)
treeaa6aafe8842700c1004da8cda70f8a5a392f61c5 /scripts/lib/kdoc/kdoc_files.py
parentdocs: kdoc: don't reinvent string.strip() (diff)
downloadkernel-09b9297478a3da4d940af8ff8c5f8e27be4990e8.tar.gz
kernel-09b9297478a3da4d940af8ff8c5f8e27be4990e8.zip
docs: kdoc: micro-optimize KernRe
Switch KernRe::add_regex() to a try..except block to avoid looking up each regex twice. Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions