mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix versionchanged indentation in popitem documentation (GH-8387)
This commit is contained in:
parent
961360923e
commit
cb9c299a55
1 changed files with 2 additions and 3 deletions
|
@ -4228,9 +4228,8 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
|
|||
:meth:`popitem` raises a :exc:`KeyError`.
|
||||
|
||||
.. versionchanged:: 3.7
|
||||
|
||||
LIFO order is now guaranteed. In prior versions, :meth:`popitem` would
|
||||
return an arbitrary key/value pair.
|
||||
LIFO order is now guaranteed. In prior versions, :meth:`popitem` would
|
||||
return an arbitrary key/value pair.
|
||||
|
||||
.. method:: setdefault(key[, default])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue