summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMichaelSaah <mike.saah@gmail.com>2019-01-14 10:23:39 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-01-14 10:23:39 (GMT)
commit454b3d4ea246e8751534e105548d141ed7b0b032 (patch)
tree6a337c41728d51a65521e0a9b47176654775cfd4 /Objects
parent5bb146aaea1484bcc117ab6cb38dda39ceb5df0f (diff)
downloadcpython-454b3d4ea246e8751534e105548d141ed7b0b032.zip
cpython-454b3d4ea246e8751534e105548d141ed7b0b032.tar.gz
cpython-454b3d4ea246e8751534e105548d141ed7b0b032.tar.bz2
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 'Objects')
0 files changed, 0 insertions, 0 deletions