diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-02 04:05:52 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-02 04:05:52 (GMT) |
commit | 137d824148f9322c741b16d90ada72fc558b9a1c (patch) | |
tree | 6e2a7c1faa9e5b1e7b6490a735b521d729dfbaad /Lib/struct.py | |
parent | 8856ddae2522c644132b5d0730ab60021f2ce13e (diff) | |
download | cpython-137d824148f9322c741b16d90ada72fc558b9a1c.zip cpython-137d824148f9322c741b16d90ada72fc558b9a1c.tar.gz cpython-137d824148f9322c741b16d90ada72fc558b9a1c.tar.bz2 |
Fix issue 2782: be less strict about the format string type in strftime.
Accept unicode and anything else ParseTuple "s#" can deal with. This
matches the time.strftime behavior.
Diffstat (limited to 'Lib/struct.py')
0 files changed, 0 insertions, 0 deletions