Skip to content

Commit

Permalink
Sort praw.models.reddit.subreddit.Subreddit._create_or_update arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jan 29, 2022
1 parent d369bb8 commit 4e1b756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion praw/models/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ def create(
"""
Subreddit._create_or_update(
_reddit=self._reddit,
name=name,
link_type=link_type,
name=name,
subreddit_type=subreddit_type,
title=title or name,
wikimode=wikimode,
Expand Down
1 change: 1 addition & 0 deletions praw/models/reddit/subreddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class Subreddit(MessageableMixin, SubredditListingMixin, FullnameMixin, RedditBa

@staticmethod
def _create_or_update(
*,
_reddit,
allow_images=None,
allow_post_crossposts=None,
Expand Down

0 comments on commit 4e1b756

Please sign in to comment.