Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#332 closed defect (invalid)

It's datetime.datetime.now()

Reported by: swaroop@… Owned by: Jacob
Component: Documentation Version:
Severity: normal Keywords: typo
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

docs/tutorial01.txt:

p = polls.Poll(question="What's up?", pub_date=datetime.now())

should be

p = polls.Poll(question="What's up?", pub_date=datetime.datetime.now())

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: invalid
Status: newclosed

Note that the tutorial does this:

from datetime import datetime

...not this:

import datetime
Note: See TracTickets for help on using tickets.
Back to Top