Skip to content

Commit

Permalink
Remove confusing example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thetwam committed Feb 16, 2021
1 parent c1eaf9a commit d36d110
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ Most of Canvas’s API endpoints accept a variety of arguments. CanvasAPI allows
```python
# Get all of the active courses a user is currently enrolled in
>>> courses = user.get_courses(enrollment_state='active')


# Fetch 50 objects per page when making calls that return a PaginatedList
>>> courses = user.get_courses(per_page=50)
```

For a more detailed description of how CanvasAPI handles more complex keyword arguments, check out the [Keyword Argument Documentation](http://canvasapi.readthedocs.io/en/stable/keyword-args.html).
Expand Down
3 changes: 0 additions & 3 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ Most of Canvas’s API endpoints accept a variety of arguments. CanvasAPI allows
# Get all of the active courses a user is currently enrolled in
>>> courses = user.get_courses(enrollment_status='active')
# Fetch 50 objects per page when making calls that return a PaginatedList
>>> courses = user.get_courses(per_page=50)
For a more detailed description of how CanvasAPI handles more complex keyword arguments, check out the `Keyword Argument Documentation <keyword-args.html>`_.

Smart DateTimes
Expand Down

0 comments on commit d36d110

Please sign in to comment.