New submission from Dhushyanth Ramasamy: The example doesn't import timedelta. This causes an error when attempting to run the example in the interactive window.
---------- assignee: docs@python components: Documentation files: datetime.patch keywords: patch messages: 284042 nosy: docs@python, rdhushyanth priority: normal severity: normal status: open title: Example in Section 8.1.5 time Objects is broken versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 Added file: http://bugs.python.org/file46045/datetime.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29078> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com