Skip to content

TYP: Add the missing casting keyword to np.clip - #24611

Merged
charris merged 1 commit into
numpy:mainfrom
BvB93:clip
Sep 1, 2023
Merged

charris merged 1 commit into
numpy:mainfrom
BvB93:clip

Conversation

@BvB93

@BvB93 BvB93 commented Sep 1, 2023

Copy link
Copy Markdown
Member

Closes #24391

Quite straightforward: this PR adds annotations for the previously missing casting keyword to the np.clip function.

@BvB93 BvB93 added the 09 - Backport-Candidate PRs tagged should be backported label Sep 1, 2023
@charris
charris merged commit 52556d8 into numpy:main Sep 1, 2023
@charris

charris commented Sep 1, 2023

Copy link
Copy Markdown
Member

Thanks Bas.

@BvB93
BvB93 deleted the clip branch September 1, 2023 14:17
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 1, 2023
@charris charris changed the title TYP: Add the missing casting keyword to np.clip TYP: Add the missing casting keyword to np.clip Sep 1, 2023
charris added a commit to charris/numpy that referenced this pull request Sep 1, 2023
The line
```
    extobj: list[Any] = ...,
```
was cut when backporting numpy#24611. We want to keep it in 1.26.x.
charris added a commit to charris/numpy that referenced this pull request Nov 11, 2023
The line
```
    extobj: list[Any] = ...,
```
was cut when backporting numpy#24611. We want to keep it in 1.26.x.
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: static typing of numpy.clip seems to be missing some kwargs

2 participants