[Python-checkins] Fix versionchanged indentation in popitem documentation (GH-8387)
Mariatta
webhook-mailer at python.org
Sat Jul 21 18:15:00 EDT 2018
https://github.com/python/cpython/commit/cb9c299a55c244f77563c60e5a4afcc2221eac21
commit: cb9c299a55c244f77563c60e5a4afcc2221eac21
branch: master
author: Andrés Delfino <adelfino at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018年07月21日T15:14:56-07:00
summary:
Fix versionchanged indentation in popitem documentation (GH-8387)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 66467ac40c77..2e551dc2c455 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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])
More information about the Python-checkins
mailing list