If the user passes None, set the internal attribute to an empty dict instead. This lets us avoid some None checking and simplifies things without changing semantics -- if the user *does* pass an empty dict, the results are the same. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dtlib.py | ||
| edtlib.py | ||
| grutils.py | ||