STINNER Victor <[email protected]> added the comment: The import in the following example is wrong :
>>> import datetime >>> datetime.now(timezone.utc) ... It should be replaced by: from datetime import datetime, timezone. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue11071> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
