Aahz schrieb:
> On Fri, Oct 03, 2008, A.M. Kuchling wrote:
>>
>> I've been looking at the docstrings of the built-in types, and I found
>> the docstring for dict.update() really hard to understand.
>>
>> | update(...)
>> | D.update(E, **F) -> None. Update D from E and F: for k in E: D[k] = E[k]
On Fri, Oct 03, 2008, A.M. Kuchling wrote:
>
> I've been looking at the docstrings of the built-in types, and I found
> the docstring for dict.update() really hard to understand.
>
> | update(...)
> | D.update(E, **F) -> None. Update D from E and F: for k in E: D[k] = E[k]
> | (if E has keys el
I've been looking at the docstrings of the built-in types, and I found
the docstring for dict.update() really hard to understand.
| update(...)
| D.update(E, **F) -> None. Update D from E and F: for k in E: D[k] = E[k]
| (if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F