[Python-checkins] cpython: Issue 25483: Fix doc typo and added versionadded. Thanks, Berker Peksag.

eric.smith python-checkins at python.org
Tue Nov 3 16:30:52 EST 2015


https://hg.python.org/cpython/rev/93fd7adbc7dd
changeset:   98947:93fd7adbc7dd
user:        Eric V. Smith <eric at trueblade.com>
date:        Tue Nov 03 16:30:49 2015 -0500
summary:
  Issue 25483: Fix doc typo and added versionadded. Thanks, Berker Peksag.

files:
  Doc/library/dis.rst |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -995,7 +995,7 @@
    an optional *fmt_spec* from the stack, then a required *value*.
    *flags* is interpreted as follows:
 
-   * ``(flags & 0x03) == 0x00``: *value* is formattedd as-is.
+   * ``(flags & 0x03) == 0x00``: *value* is formatted as-is.
    * ``(flags & 0x03) == 0x01``: call :func:`str` on *value* before
      formatting it.
    * ``(flags & 0x03) == 0x02``: call :func:`repr` on *value* before
@@ -1007,6 +1007,8 @@
 
    Formatting is performed using the :c:func:`PyObject_Format` function.
 
+   .. versionadded:: 3.6
+
 
 .. opcode:: HAVE_ARGUMENT
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list