2019-02-28 22:43:57 +00:00
|
|
|
## dicts.add
|
|
|
|
|
|
|
|
<pre>
|
2019-03-26 11:38:49 +00:00
|
|
|
dicts.add(<a href="#dicts.add-dictionaries">dictionaries</a>, <a href="#dicts.add-kwargs">kwargs</a>)
|
2019-02-28 22:43:57 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns a new `dict` that has all the entries of the given dictionaries.
|
|
|
|
|
|
|
|
If the same key is present in more than one of the input dictionaries, the
|
|
|
|
last of them in the argument list overrides any earlier ones.
|
|
|
|
|
|
|
|
This function is designed to take zero or one arguments as well as multiple
|
|
|
|
dictionaries, so that it follows arithmetic identities and callers can avoid
|
|
|
|
special cases for their inputs: the sum of zero dictionaries is the empty
|
|
|
|
dictionary, and the sum of a single dictionary is a copy of itself.
|
|
|
|
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
|
|
|
<table class="params-table">
|
|
|
|
<colgroup>
|
|
|
|
<col class="col-param" />
|
|
|
|
<col class="col-description" />
|
|
|
|
</colgroup>
|
|
|
|
<tbody>
|
|
|
|
<tr id="dicts.add-dictionaries">
|
|
|
|
<td><code>dictionaries</code></td>
|
|
|
|
<td>
|
|
|
|
optional.
|
|
|
|
<p>
|
|
|
|
Zero or more dictionaries to be added.
|
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2019-03-26 11:38:49 +00:00
|
|
|
<tr id="dicts.add-kwargs">
|
|
|
|
<td><code>kwargs</code></td>
|
|
|
|
<td>
|
|
|
|
optional.
|
|
|
|
<p>
|
|
|
|
Additional dictionary passed as keyword args.
|
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2019-02-28 22:43:57 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|