FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TYP: Add the missing ``casting`` keyword to ``np.clip`` by BvB93 · Pull Request #24611 · numpy/numpy · GitHub

/ numpy Public

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 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 added the 09 - Backport-Candidate PRs tagged should be backported label Sep 1, 2023
charris merged commit 52556d8 into numpy:main Sep 1, 2023

charris commented Sep 1, 2023

Copy link
Copy Markdown
Member

Thanks Bas.

BvB93 deleted the clip branch September 1, 2023 14:17
charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 1, 2023
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL