Skip to content

Commit

Permalink
Fix typo in get_objects example.
Browse files Browse the repository at this point in the history
Example contained posts instead of events. Mistake is probably from
copy-pasting from the previous example. Close mobolic#375.
  • Loading branch information
kkirss authored and martey committed Aug 21, 2017
1 parent 70bb498 commit 36e9a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ maps to an object.
# Each given id maps to an object that contains the requested fields.
for event_id in event_ids:
print(posts[event_id]['declined_count'])
print(events[event_id]['declined_count'])
search
^^^^^^
Expand Down

0 comments on commit 36e9a45

Please sign in to comment.