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

Fixed the type declaration for all_errors in ftplib.pyi #5271

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

erictraut
Copy link
Contributor

Fixed the type declaration for all_errors in ftplib.pyi. It is supposed to be a variable, not a type alias.

…pposed to be a variable, not a type alias.
@srittau
Copy link
Collaborator

srittau commented Apr 30, 2021

I look forward to the day we can enforce explicit type aliases in typeshed. (#4913 and PyCQA/flake8-pyi#44)

@Akuli
Copy link
Collaborator

Akuli commented Apr 30, 2021

Why does stubtest not warn about this?

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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.

5 participants