diff options
author | Prometheus3375 <35541026+Prometheus3375@users.noreply.github.com> | 2024-10-29 23:00:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 23:00:04 (GMT) |
commit | 5527c4051c0b58218ce69044f92b45f1d66ed43f (patch) | |
tree | a88e46d41a9e8c5e096f90e4cb29c0e3206c14c3 /Doc | |
parent | 4877e33708b3723d4b4069ca5c5f090d0b8dcec6 (diff) | |
download | cpython-5527c4051c0b58218ce69044f92b45f1d66ed43f.zip cpython-5527c4051c0b58218ce69044f92b45f1d66ed43f.tar.gz cpython-5527c4051c0b58218ce69044f92b45f1d66ed43f.tar.bz2 |
gh-116938: Fix `dict.update` docstring and remove erraneous full stop from `dict` documentation (#125421)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 704637d..a9b7662 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4674,7 +4674,7 @@ can be used interchangeably to index the same dictionary entry. :meth:`update` accepts either another object with a ``keys()`` method (in which case :meth:`~object.__getitem__` is called with every key returned from - the method). or an iterable of key/value pairs (as tuples or other iterables + the method) or an iterable of key/value pairs (as tuples or other iterables of length two). If keyword arguments are specified, the dictionary is then updated with those key/value pairs: ``d.update(red=1, blue=2)``. |