Skip to content

DOC: Change DocStr to represent code in fft #29348

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

Closed
wants to merge 1 commit into from

Conversation

JonahderTyp
Copy link

Aligns Docstrings with Implementation of FFT functions

@eendebakpt
Copy link
Contributor

The actual implementation uses // indeed. But the docstring expression is not actual code (one cannot divide a list by d*n). And the expression is valid as is (n is supposed to be integer input). So I am inclined to keep the docstring as is. (but not completely against changing either)

@seberg
Copy link
Member

seberg commented Jul 9, 2025

I would tend to agree. There is no reason to use floor division here (if it was, you could remove some -1s.

@seberg seberg closed this Jul 9, 2025
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.

3 participants