Skip to content

Conversation

@BvB93
Copy link
Member

@BvB93 BvB93 commented Jul 21, 2022

Closes #22019

Just as their function-based counterpart, so do the ndarray.squeeze and .transpose methods accept None as sole their argument.

Copy link
Contributor

@rossbar rossbar left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @BvB93 !

@rossbar rossbar merged commit ff6ea60 into numpy:main Jul 22, 2022
charris pushed a commit to charris/numpy that referenced this pull request Jul 24, 2022
@charris charris changed the title MAINT,TYP: Allow the squeeze and transpose method to take None as argument MAINT,TYP: Allow the squeeze and transpose method to take None as argument Jul 24, 2022
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jul 24, 2022
@charris charris removed this from the 1.23.2 release milestone Jul 24, 2022
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.

BUG: ndarray.squeeze/transpose type signatures disallow None for first argument

3 participants