linux/scripts/lib/kdoc
Jonathan Corbet f8208676c1 docs: kdoc: rework the rewrite_struct_members() main loop
Adopt a more Pythonic form for the main loop of this function, getting rid
of the "while True:" construction and making the actual loop invariant
explicit.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250807211639.47286-8-corbet@lwn.net
2025-08-11 10:25:42 -06:00
..
kdoc_files.py docs: kdoc: simplify the output-item passing 2025-07-02 14:14:31 -06:00
kdoc_item.py docs: kdoc: directly access the always-there KdocItem fields 2025-07-15 13:43:30 -06:00
kdoc_output.py docs: kdoc: directly access the always-there KdocItem fields 2025-07-15 13:43:30 -06:00
kdoc_parser.py docs: kdoc: rework the rewrite_struct_members() main loop 2025-08-11 10:25:42 -06:00
kdoc_re.py docs: kdoc: micro-optimize KernRe 2025-07-08 08:06:25 -06:00