Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#1164) Add types to reddit/redditor.py #1221

Merged
merged 2 commits into from
Dec 29, 2019
Merged

(#1164) Add types to reddit/redditor.py #1221

merged 2 commits into from
Dec 29, 2019

Conversation

PythonCoderAS
Copy link
Contributor

#1164

-> ./praw/models/reddit/redditor.py

Comment = TypeVar("Comment")
Multireddit = TypeVar("Multireddit")
Reddit = TypeVar("Reddit")
_Redditor = TypeVar("_Redditor")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does Redditor have an underscore prefix. Also, if it's necessary, let's define the underscore ones before the non-underscored ones.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ll move it around.

@bboe bboe merged commit d0bfd49 into praw-dev:master Dec 29, 2019
@PythonCoderAS PythonCoderAS deleted the add-types-redditor branch December 29, 2019 17:26
@PythonCoderAS PythonCoderAS added this to the Type all Modules milestone Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants