Skip to content

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

Merged
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-23327
Mar 5, 2023
Merged

TYP: Mark d argument to fftfreq and rfftfreq as optional in type stubs.#23343
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-23327

Conversation

@charris
Copy link
Copy Markdown
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
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.

2 participants