summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-13 07:10:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-13 07:10:51 (GMT)
commit009b0a1face9c16b608b3cd18df8c88632006ae1 (patch)
tree632f8db681fec81723aee593a9d23318630862e9 /Doc/whatsnew
parentb37f3f6e6b17b32b9af4a5fcafc650580c94b2c9 (diff)
downloadcpython-009b0a1face9c16b608b3cd18df8c88632006ae1.zip
cpython-009b0a1face9c16b608b3cd18df8c88632006ae1.tar.gz
cpython-009b0a1face9c16b608b3cd18df8c88632006ae1.tar.bz2
Issue #29193: A format string argument for string.Formatter.format()
is now positional-only.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index a2e6422..c4814e2 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -147,3 +147,9 @@ This section lists previously described changes and other bugfixes
that may require changes to your code.
+Changes in the Python API
+-------------------------
+
+* A format string argument for :meth:`string.Formatter.format`
+ is now :ref:`positional-only <positional-only_parameter>`.
+ (Contributed by Serhiy Storchaka in :issue:`29193`.)