]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix versionchanged indentation in popitem documentation (GH-8387)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 21 Jul 2018 23:04:54 +0000 (16:04 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 21 Jul 2018 23:04:54 +0000 (16:04 -0700)
(cherry picked from commit cb9c299a55c244f77563c60e5a4afcc2221eac21)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/library/stdtypes.rst

index a0c7ba3f15f54a185dbd3dc9d380324f04fe17e8..5612ec1fdb54c0890356a989dc2c0a6e642ecac6 100644 (file)
@@ -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])