Skip to content

MAINT: Cleaned up mintypecode for Py3 (pt. 2) #15032

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

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

madphysicist
Copy link
Contributor

Followup to #14967. Cleaned up to use min with proper key instead of workaround.

@madphysicist
Copy link
Contributor Author

@seberg @eric-wieser Apologies for the delay. I hope his is not controversial.

Using generators instead of full-blown lists
Using set for search instead of list
Using min to get single element insteaf of sorting full list
@mattip mattip merged commit fc860a2 into numpy:master Dec 3, 2019
@mattip
Copy link
Member

mattip commented Dec 3, 2019

Thanks @madphysicist

@madphysicist madphysicist deleted the mintypecode-cleanup branch December 3, 2019 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants