diff options
author | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-05-13 11:49:49 +0200 |
---|---|---|
committer | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-05-27 11:10:23 +0200 |
commit | d4ef160b1a4a462af82901a7951e2d734d433059 (patch) | |
tree | 9fda8b0d76040176f69b9e95a77eb255c715804b /utils/codegen/ipc/parser.py | |
parent | eecb270085e6a96ba0c7786410877c732d3381e1 (diff) |
utils: codegen: ipc: Use `any()` instead of `len([]) > 0`
Use `any()` with a generator expression instead of constructing
a list and checking its length.
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'utils/codegen/ipc/parser.py')
0 files changed, 0 insertions, 0 deletions