mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
merge with 3.5
This commit is contained in:
commit
6d6dd73aec
10 changed files with 22 additions and 21 deletions
|
@ -472,7 +472,7 @@ class Formatter(object):
|
|||
use one of %-formatting, :meth:`str.format` (``{}``) formatting or
|
||||
:class:`string.Template` formatting in your format string.
|
||||
|
||||
.. versionchanged: 3.2
|
||||
.. versionchanged:: 3.2
|
||||
Added the ``style`` parameter.
|
||||
"""
|
||||
if style not in _STYLES:
|
||||
|
@ -701,7 +701,7 @@ class Filterer(object):
|
|||
this and the record is then dropped. Returns a zero value if a record
|
||||
is to be dropped, else non-zero.
|
||||
|
||||
.. versionchanged: 3.2
|
||||
.. versionchanged:: 3.2
|
||||
|
||||
Allow filters to be just callables.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue