Skip to content

Commit

Permalink
Sort praw.models.reddit.wikipage.WikiPageModeration.update arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jan 14, 2022
1 parent f2c0e82 commit 8b975e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praw/models/reddit/wikipage.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ def settings(self) -> Dict[str, Any]:
)
return self.wikipage._reddit.get(url)["data"]

@_deprecate_args("listed", "permlevel")
def update(
self, listed: bool, permlevel: int, **other_settings: Any
self, *, listed: bool, permlevel: int, **other_settings: Any
) -> Dict[str, Any]:
"""Update the settings for this :class:`.WikiPage`.
Expand Down

0 comments on commit 8b975e6

Please sign in to comment.