[2.7] bpo-33828: Clarify auto-numbering is not available to string.Formatter. (GH-7668) (GH-7676)
string.Formatter auto-numbering feature was added in 3.4 and not
available in 2.7. Make the documentation unambiguous.
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index c2af446..2293b02 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -257,8 +257,9 @@
does an index lookup using :func:`__getitem__`.
.. versionchanged:: 2.7
- The positional argument specifiers can be omitted, so ``'{} {}'`` is
- equivalent to ``'{0} {1}'``.
+ The positional argument specifiers can be omitted for :meth:`str.format` and
+ :meth:`unicode.format`, so ``'{} {}'`` is equivalent to ``'{0} {1}'``,
+ ``u'{} {}'`` is equivalent to ``u'{0} {1}'``.
Some simple format string examples::