Skip to content

Commit

Permalink
Merge pull request #70 from elricbk/patch-1
Browse files Browse the repository at this point in the history
Fix tutorial.rst typo
  • Loading branch information
spookylukey committed Jan 11, 2023
2 parents 638bec2 + 13174fe commit da4593e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ This is done using the :ref:`parser-or`, as follows:
>>> flexi_date = full_or_partial_date | days_ago
>>> flexi_date.parse("2012-01-05")
(2012, 1, 5)
>>> days_ago.parse("2 days ago")
>>> flexi_date.parse("2 days ago")
datetime.timedelta(-2)
Notice that you still get good error messages from the appropriate parser,
Expand Down

0 comments on commit da4593e

Please sign in to comment.