This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients eli.bendersky, georg.brandl, ncoghlan, rhettinger, vinay.sajip, vstinner
Date 2011-01-31.13:07:44
SpamBayes Score 0.008377682
Marked as misclassified No
Message-id <1296479264.73.0.5234422541.issue11071@psf.upfronthosting.co.za>
In-reply-to
Content
The import in the following example is wrong :

>>> import datetime
>>> datetime.now(timezone.utc)
...

It should be replaced by: from datetime import datetime, timezone.
History
Date User Action Args
2011-01-31 13:07:44vstinnersetrecipients: + vstinner, georg.brandl, rhettinger, vinay.sajip, ncoghlan, eli.bendersky
2011-01-31 13:07:44vstinnersetmessageid: <1296479264.73.0.5234422541.issue11071@psf.upfronthosting.co.za>
2011-01-31 13:07:44vstinnerlinkissue11071 messages
2011-01-31 13:07:44vstinnercreate