lpmerge
In place left precedent dictionary merge.
Keeps values from L, if the value in R is :const:None.
def lpmerge(
L: Mapping,
R: Mapping
) - > Mapping
In place left precedent dictionary merge. Keeps values from L, if the value in R is :const:None.
Parameters
| Name | Type | Description |
|---|---|---|
| L | Mapping | The base dictionary to be updated in-place; its values are preserved if the corresponding value in R is None |
| R | Mapping | The source dictionary containing updates to be merged into L |
Returns
| Type | Description |
|---|---|
Mapping | The modified left dictionary (L) after merging non-None values from the right dictionary (R) |