mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Merge
This commit is contained in:
commit
3b3b1189ce
1 changed files with 3 additions and 3 deletions
|
|
@ -2167,9 +2167,9 @@ PyDoc_STRVAR(values__doc__,
|
|||
"D.values() -> list of D's values");
|
||||
|
||||
PyDoc_STRVAR(update__doc__,
|
||||
"D.update(E, **F) -> None. Update D from dict/iterable E and F.\n"
|
||||
"If E has a .keys() method, does: for k in E: D[k] = E[k]\n\
|
||||
If E lacks .keys() method, does: for (k, v) in E: D[k] = v\n\
|
||||
"D.update([E, ]**F) -> None. Update D from dict/iterable E and F.\n"
|
||||
"If E present and has a .keys() method, does: for k in E: D[k] = E[k]\n\
|
||||
If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v\n\
|
||||
In either case, this is followed by: for k in F: D[k] = F[k]");
|
||||
|
||||
PyDoc_STRVAR(fromkeys__doc__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue