Staging
v0.5.1
https://github.com/python/cpython
Revision 454b3d4ea246e8751534e105548d141ed7b0b032 authored by MichaelSaah on 14 January 2019, 10:23:39 UTC, committed by Victor Stinner on 14 January 2019, 10:23:39 UTC
Previously, calling the strftime() method on a datetime object with a
trailing '%' in the format string would result in an exception. However,
this only occured when the datetime C module was being used; the python
implementation did not match this behavior. Datetime is now PEP-399
compliant, and will not throw an exception on a trailing '%'.
1 parent 5bb146a
History
Tip revision: 454b3d4ea246e8751534e105548d141ed7b0b032 authored by MichaelSaah on 14 January 2019, 10:23:39 UTC
bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692)
Tip revision: 454b3d4

README

back to top