Skip to content
Prev Previous commit
Update Doc/library/stdtypes.rst
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
johnlandonwood and erlend-aasland authored May 21, 2024
commit 58b2163ebbf50c1f6aaaef37cbd8d1c94c68d394
2 changes: 1 addition & 1 deletion Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4591,7 +4591,7 @@ can be used interchangeably to index the same dictionary entry.
Return a new view of the dictionary's keys. See the :ref:`documentation
of view objects <dict-views>`.

.. method:: pop(key, default=None)
.. method:: pop(key[, default])

If *key* is in the dictionary, remove it and return its value, else return
*default*. If *default* is not given and *key* is not in the dictionary,
Expand Down