Eric Smith <e...@trueblade.com> added the comment: I don't think this is documented (that I can find, at least), so I'll assign it to Georg.
I think the correct thing to do is something like this, in the datetime, date, and time object descriptions: date.__format__(fmt) For a date d, format(d, fmt) is equivalent to d.strftime(fmt). Ditto for date.__format__. But maybe there's a better, more obvious place to document this. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7789> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com