diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-01-14 10:41:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 10:41:33 (GMT) |
commit | 26122de1a80d1618ee80862cf3b8f73f8ec7d9cf (patch) | |
tree | b62038f2577b217d895530138f5c690b2b066f25 /Lib/idlelib/idle_test/test_pyparse.py | |
parent | 890d3fa10c68af6306cf6b989b2133978e6e7a12 (diff) | |
download | cpython-26122de1a80d1618ee80862cf3b8f73f8ec7d9cf.zip cpython-26122de1a80d1618ee80862cf3b8f73f8ec7d9cf.tar.gz cpython-26122de1a80d1618ee80862cf3b8f73f8ec7d9cf.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 '%'.
(cherry picked from commit 454b3d4ea246e8751534e105548d141ed7b0b032)
Co-authored-by: MichaelSaah <mike.saah@gmail.com>
Diffstat (limited to 'Lib/idlelib/idle_test/test_pyparse.py')
0 files changed, 0 insertions, 0 deletions