I have two objects that represent the same event instance --- one holds the date, the other the time of this event, and I want to create a datetime object.
Since one can't simply add date and time objects (following call fails):
datetime.date(2011, 01, 01) + datetime.time(10, 23)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…