mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix versionchanged indentation in popitem documentation (GH-8387)
(cherry picked from commit cb9c299a55)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
committed by
Mariatta
parent
92ce6a64af
commit
7cf7541aa4
@@ -4209,9 +4209,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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user