diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-08-07 15:16:34 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-08-11 10:25:42 -0600 |
commit | f8208676c1c85c0b91e726954c05f5859b890ccb (patch) | |
tree | 101fbd781692ceb1ee8be460302fa4c16731b14e /scripts/lib/kdoc/kdoc_item.py | |
parent | 77e3c875f0a83d9192079e88d8569ac36c6b6bea (diff) |
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
Diffstat (limited to 'scripts/lib/kdoc/kdoc_item.py')
0 files changed, 0 insertions, 0 deletions