Skip to content

Commit

Permalink
Change typing syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
timendum committed Jan 13, 2023
1 parent e955f30 commit 52b4293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion praw/models/comment_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def list(self) -> List[Union["praw.models.Comment", "praw.models.MoreComments"]]

@_deprecate_args("limit", "threshold")
def replace_more(
self, *, limit: int | None = 32, threshold: int = 0
self, *, limit: Optional[int] = 32, threshold: int = 0
) -> List["praw.models.MoreComments"]:
"""Update the comment forest by resolving instances of :class:`.MoreComments`.
Expand Down

0 comments on commit 52b4293

Please sign in to comment.