#332 closed defect (invalid)
It's datetime.datetime.now()
Reported by: | 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())
Note:
See TracTickets
for help on using tickets.
Note that the tutorial does this:
...not this: