From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 21 Jul 2018 23:04:54 +0000 (-0700) Subject: Fix versionchanged indentation in popitem documentation (GH-8387) X-Git-Tag: v3.7.1rc1~257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cf7541aa4bcaab771bc0691f1ede993f601e379;p=thirdparty%2FPython%2Fcpython.git Fix versionchanged indentation in popitem documentation (GH-8387) (cherry picked from commit cb9c299a55c244f77563c60e5a4afcc2221eac21) Co-authored-by: Andrés Delfino --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a0c7ba3f15f5..5612ec1fdb54 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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])