diff options
author | Eric Smith <eric@trueblade.com> | 2007-09-11 18:06:02 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2007-09-11 18:06:02 (GMT) |
commit | 1ba3114fdb5adb5e6852c85e1d3caccba3395471 (patch) | |
tree | 0341bc0a923b50960ecf14302132eea3b30142a7 /Lib/binhex.py | |
parent | 54d6874e48cc9aa57c141b59868f6a99a87dd1b6 (diff) | |
download | cpython-1ba3114fdb5adb5e6852c85e1d3caccba3395471.zip cpython-1ba3114fdb5adb5e6852c85e1d3caccba3395471.tar.gz cpython-1ba3114fdb5adb5e6852c85e1d3caccba3395471.tar.bz2 |
Added __format__ method to datetime.datetime, datetime.date, and datetime.time.
If format_spec is empty, __format__ calls str(self), else it calls
self.strftime(format_spec).
Diffstat (limited to 'Lib/binhex.py')
0 files changed, 0 insertions, 0 deletions