mirror of
https://github.com/python/cpython.git
synced 2025-11-18 01:57:37 +00:00
Issue #23671: string.Template now allows to specify the "self" parameter as
keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
This commit is contained in:
commit
b876df4cbb
6 changed files with 60 additions and 3 deletions
|
|
@ -526,6 +526,10 @@ Deprecated Python modules, functions and methods
|
|||
:func:`~http.cookies.Morsel.set` method in order to avoid the deprecation
|
||||
warning.
|
||||
|
||||
* Passing a format string as keyword argument *format_string* to the
|
||||
:meth:`~string.Formatter.format` method of the :class:`string.Formatter`
|
||||
class has been deprecated.
|
||||
|
||||
|
||||
Deprecated functions and types of the C API
|
||||
-------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue