Skip to content

Commit

Permalink
Updated examples to use explicit imports
Browse files Browse the repository at this point in the history
  • Loading branch information
runfalk committed Dec 23, 2015
1 parent 3493e9a commit 9a781cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ the 90s.

.. code-block:: python
>>> from spans import *
>>> from datetime import *
>>> from spans import daterange
>>> from datetime import date
>>> the90s = daterange(date(1990, 1, 1), date(2000, 1, 1))
>>> date(1996, 12, 4) in the90s
True
Expand Down
4 changes: 2 additions & 2 deletions doc/example_contains.inc.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. doctest::

>>> from spans import *
>>> from datetime import *
>>> from spans import daterange
>>> from datetime import date
>>> the90s = daterange(date(1990, 1, 1), date(2000, 1, 1))
>>> date(1996, 12, 4) in the90s
True
Expand Down

0 comments on commit 9a781cf

Please sign in to comment.