diff options
author | MichaelSaah <mike.saah@gmail.com> | 2019-01-14 05:23:39 -0500 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-01-14 11:23:39 +0100 |
commit | 454b3d4ea246e8751534e105548d141ed7b0b032 (patch) | |
tree | 6a337c41728d51a65521e0a9b47176654775cfd4 /Python/sysmodule.c | |
parent | 5bb146aaea1484bcc117ab6cb38dda39ceb5df0f (diff) | |
download | cpython-git-454b3d4ea246e8751534e105548d141ed7b0b032.tar.gz |
bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692)
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 '%'.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions