diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-13 09:10:51 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-01-13 09:10:51 +0200 |
commit | 009b0a1face9c16b608b3cd18df8c88632006ae1 (patch) | |
tree | 632f8db681fec81723aee593a9d23318630862e9 /Doc/library/string.rst | |
parent | b37f3f6e6b17b32b9af4a5fcafc650580c94b2c9 (diff) | |
download | cpython-git-009b0a1face9c16b608b3cd18df8c88632006ae1.tar.gz |
Issue #29193: A format string argument for string.Formatter.format()
is now positional-only.
Diffstat (limited to 'Doc/library/string.rst')
-rw-r--r-- | Doc/library/string.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index a0977b6461..03eaf3b9cd 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -95,9 +95,9 @@ implementation as the built-in :meth:`~str.format` method. an arbitrary set of positional and keyword arguments. It is just a wrapper that calls :meth:`vformat`. - .. deprecated:: 3.5 - Passing a format string as keyword argument *format_string* has been - deprecated. + .. versionchanged:: 3.7 + A format string argument is now :ref:`positional-only + <positional-only_parameter>`. .. method:: vformat(format_string, args, kwargs) |