Skip to content

Commit 7da0211

Browse files
committed
Fix for #113, indicate as_of and most_recent return instances of Poll
1 parent d9cc381 commit 7da0211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ the provided date and time.
2727
2828
>>> from datetime import datetime
2929
>>> poll.history.as_of(datetime(2010, 10, 25, 18, 4, 0))
30-
<HistoricalPoll: Poll object as of 2010-10-25 18:03:29.855689>
30+
<Poll: Poll object as of 2010-10-25 18:03:29.855689>
3131
>>> poll.history.as_of(datetime(2010, 10, 25, 18, 5, 0))
32-
<HistoricalPoll: Poll object as of 2010-10-25 18:04:13.814128>
32+
<Poll: Poll object as of 2010-10-25 18:04:13.814128>
3333
3434
most_recent
3535
~~~~~~~~~~~
@@ -41,7 +41,7 @@ model history.
4141
4242
>>> from datetime import datetime
4343
>>> poll.history.most_recent()
44-
<HistoricalPoll: Poll object as of 2010-10-25 18:04:13.814128>
44+
<Poll: Poll object as of 2010-10-25 18:04:13.814128>
4545
4646
4747
History for Third-Party Model

0 commit comments

Comments
 (0)