aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2025-08-07 15:16:34 -0600
committerJonathan Corbet <corbet@lwn.net>2025-08-11 10:25:42 -0600
commitf8208676c1c85c0b91e726954c05f5859b890ccb (patch)
tree101fbd781692ceb1ee8be460302fa4c16731b14e /scripts/lib/kdoc/kdoc_re.py
parentdocs: kdoc: split struct-member rewriting out of dump_struct() (diff)
downloadlinux-f8208676c1c85c0b91e726954c05f5859b890ccb.tar.gz
linux-f8208676c1c85c0b91e726954c05f5859b890ccb.zip
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_re.py')
0 files changed, 0 insertions, 0 deletions