datetime.time and midnight

Mark Dickinson dickinsm at gmail.com
Sun Feb 22 10:18:21 CET 2009


On Feb 21, 10:44 pm, Ethan Furman <et... at stoneleaf.us> wrote:

> --> midnight = datetime.time(0,0,0)
> --> bool(midnight)
> False

I'd call this a bug.

Mark



More information about the Python-list mailing list