Skip to content

Remove Python 2 branches from Python 3 stubs #5460

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

Closed
wants to merge 2 commits into from

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented May 15, 2021

Remove a few missed version_info checks from @python2

I did not do anything but remove branches and version checks and in a few instances move imports to the top. For example, there are a few now useless type aliases, but I left them in so this PR stays only about version checks.

Version checks in stdlib are now much easier to grep, since they now only compare against (3, 7) and up.

Remove a few missed version_info checks from @python2
@Akuli
Copy link
Collaborator

Akuli commented May 15, 2021

I did this too, in #5458 (edited, linked wrong pr initially). I'll merge our changes together and see whether we did any things differently.

@srittau
Copy link
Collaborator Author

srittau commented May 15, 2021

Superseded by #5461

@srittau srittau closed this May 15, 2021
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