summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_item.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2025-07-01 16:21:24 -0600
committerJonathan Corbet <corbet@lwn.net>2025-07-15 13:43:07 -0600
commit8d9d122915492ea6984f32e5df30cef5c582f062 (patch)
tree8e39564943cca107e96ec911fd0f5b629d6bd247 /scripts/lib/kdoc/kdoc_item.py
parent703f9074a8e10ac3fe939025233acb7c47529608 (diff)
docs: kdoc: drop "sectionlist"
Python dicts (as of 3.7) are guaranteed to remember the insertion order of items, so we do not need a separate list for that purpose. Drop the per-entry sectionlist variable and just rely on native dict ordering. Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_item.py')
0 files changed, 0 insertions, 0 deletions