[issue34415] Typo in logging.Formatter docstring
Terry J. Reedy
report at bugs.python.org
Fri Aug 17 18:47:16 EDT 2018
Terry J. Reedy <tjreedy at udel.edu> added the comment:
The default format depends on the style. From 3.8:
class Formatter()
<docstring>
def __init__(self, fmt=None, datefmt=None, style='%'):
...
self._fmt = self._style._fmt
It appears that the class docstring was not updated when the style parameter was added, in 3.2. So I think more change is needed. I will try to make a proposal later.
----------
nosy: +terry.reedy, vinay.sajip
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34415>
_______________________________________
More information about the Python-bugs-list
mailing list