Skip to content
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

TYP: Mark d argument to fftfreq and rfftfreq as optional in type stubs. #23343

Merged
merged 1 commit into from Mar 5, 2023

Conversation

charris
Copy link
Member

@charris charris commented Mar 5, 2023

Backport of #23327.

The type stubs incorrectly mark this argument as mandatory. It has a default argument, per the docs: https://numpy.org/doc/stable/reference/generated/numpy.fft.fftfreq.html
https://numpy.org/doc/stable/reference/generated/numpy.fft.rfftfreq.html

The type stubs incorrectly mark this argument as mandatory.
@charris charris added this to the 1.24.3 release milestone Mar 5, 2023
@charris charris merged commit 9c61047 into numpy:maintenance/1.24.x Mar 5, 2023
48 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants