[issue41260] datetime, date and time: strftime method takes different keyword argument: fmt (pure) or format (C)

Alex Waygood report at bugs.python.org
Tue Nov 16 14:27:41 EST 2021


Alex Waygood <Alex.Waygood at Gmail.com> added the comment:

In addition to `date.strftime` and `time.strftime`, there is also a discrepancy in `datetime.fromtimestamp`. In the C implementation, the first parameter is called "timestamp"; in the pure-Python implementation, the first parameter is called "t".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41260>
_______________________________________


More information about the Python-bugs-list mailing list