https://github.com/python/cpython/commit/7cf7541aa4bcaab771bc0691f1ede993f601e379 commit: 7cf7541aa4bcaab771bc0691f1ede993f601e379 branch: 3.7 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: Mariatta <Mariatta at users.noreply.github.com> date: 2018年07月21日T16:04:54-07:00 summary: Fix versionchanged indentation in popitem documentation (GH-8387) (cherry picked from commit cb9c299a55c244f77563c60e5a4afcc2221eac21) Co-authored-by: Andrés Delfino <adelfino at gmail.com> files: M Doc/library/stdtypes.rst 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])