Skip to content

Commit 6450153

Browse files
committed
Missing .dates in Range examples.
Fixes #1201, thank you, @jasonqiao36!
1 parent 43c71ce commit 6450153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/persistence.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ in any of the `range fields
9797
datetime(2018, 11, 17, 9, 30, 0) in rb.dates # True
9898
9999
# you can also get the limits and whether they are inclusive or exclusive:
100-
rb.lower # datetime(2018, 11, 17, 9, 0, 0), True
101-
rb.upper # datetime(2018, 11, 17, 10, 0, 0), False
100+
rb.dates.lower # datetime(2018, 11, 17, 9, 0, 0), True
101+
rb.dates.upper # datetime(2018, 11, 17, 10, 0, 0), False
102102
103103
# empty range is unbounded
104104
Range().lower # None, False

0 commit comments

Comments
 (0)