Skip to content

Commit

Permalink
Merge pull request #357 from textbook/improve_docs
Browse files Browse the repository at this point in the history
Add parameter values to docs for _listing method
  • Loading branch information
bboe committed Jan 4, 2015
2 parents e09d456 + 9329960 commit f297ad1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions praw/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ def _get_redditor_listing(subpath=''):
def _listing(self, sort='new', time='all', *args, **kwargs):
"""Return a get_content generator for some RedditContentObject type.
:param sort: Specify the sort order of the results if applicable.
:param sort: Specify the sort order of the results if applicable
(one of ``'hot'``, ``'new'``, ``'top'``, ``'controversial'``).
:param time: Specify the time-period to return submissions if
applicable.
applicable (one of ``'hour'``, ``'day'``, ``'week'``,
``'month'``, ``'year'``, ``'all'``).
The additional parameters are passed directly into
:meth:`.get_content`. Note: the `url` parameter cannot be altered.
Expand Down

0 comments on commit f297ad1

Please sign in to comment.