Skip to content

Commit

Permalink
Sort praw.models.reddit.submission.SubmissionModeration.suggested_sor…
Browse files Browse the repository at this point in the history
…t arguments
  • Loading branch information
LilSpazJoekp committed Feb 7, 2022
1 parent 68b8dbf commit 0a5291d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praw/models/reddit/submission.py
Expand Up @@ -288,7 +288,8 @@ def sticky(self, *, bottom: bool = True, state: bool = True):
except Conflict:
pass

def suggested_sort(self, sort: str = "blank"):
@_deprecate_args("sort")
def suggested_sort(self, *, sort: str = "blank"):
"""Set the suggested sort for the comments of the submission.
:param sort: Can be one of: ``"confidence"``, ``"top"``, ``"new"``,
Expand Down

0 comments on commit 0a5291d

Please sign in to comment.