From 1e97cd7fb5d5776bf8bbf76bb4586d0b86833d45 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 13 Jan 2017 09:10:51 +0200 Subject: Issue #29193: A format string argument for string.Formatter.format() is now positional-only. --- Doc/library/string.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Doc/library/string.rst') 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 + `. .. method:: vformat(format_string, args, kwargs) -- cgit v1.2.1