8000 MAINT: Extract repeated code to a helper function by eric-wieser · Pull Request #15538 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

MAINT: Extract repeated code to a helper function #15538

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

Conversation

eric-wieser
Copy link
Member

These pieces of code were identical, and this is just a move.

Not actually a line saving, but that's because now there are comments.


Extracted as prework from #15385

@eric-wieser eric-wieser requested a review from seberg February 8, 2020 17:04
@eric-wieser eric-wieser force-pushed the dedupe-PyArray_DTypeFromObjectHelper branch from f7ba611 to f0eebb3 Compare February 8, 2020 17:05
These pieces of code were identical, and this is just a move.
@eric-wieser eric-wieser force-pushed the dedupe-PyArray_DTypeFromObjectHelper branch from f0eebb3 to 9531e5e Compare February 8, 2020 17:10
@seberg
Copy link
Member
seberg commented Feb 8, 2020

Confused me for a bit, because I missed the "pre work" idea. Looks fine to me, thanks.

@seberg seberg merged commit af0dfce into numpy:master Feb 8, 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
0