diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-04-15 11:12:49 +0800 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2025-04-21 10:39:17 -0600 |
| commit | f9cdbc5781f2c2bf374d21d91b139ae5a2f62093 (patch) | |
| tree | 3206164df2c74a0f79dd1d6e52495031b09bb107 /rust/helpers/build_bug.c | |
| parent | 439111ee0cefe434788802237673c9a37f6b6d04 (diff) | |
scripts/lib/kdoc/kdoc_parser.py: move states to a separate class
States are really enums. on Python, enums are actually classes,
as can be seen at:
https://docs.python.org/3/library/enum.html
Yet, I can't see any advantage of derivating the class from
enum class here. So, just place the states on a separate class.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/00cb4e0b8a1545bf7c4401b58213841db5cba2e2.1744685912.git.mchehab+huawei@kernel.org
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
