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

[SPARK-42903][PYTHON][DOCS] Avoid documenting None as as a return value in docstring #40530

Closed
wants to merge 1 commit into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR proposes to remove None as as a return value in docstring.

Why are the changes needed?

To be consistent with the current documentation. Also, it's idiomatic to don't specify the return for return None.

Does this PR introduce any user-facing change?

Yes, it changes the user-facing documentation.

How was this patch tested?

Doc build in the CI should verify them.

@HyukjinKwon
Copy link
Member Author

Merged to master and branch-3.4.

HyukjinKwon added a commit that referenced this pull request Mar 23, 2023
…ue in docstring

### What changes were proposed in this pull request?

This PR proposes to remove None as as a return value in docstring.

### Why are the changes needed?

To be consistent with the current documentation. Also, it's idiomatic to don't specify the return for `return None`.

### Does this PR introduce _any_ user-facing change?

Yes, it changes the user-facing documentation.

### How was this patch tested?

Doc build in the CI should verify them.

Closes #40530 from HyukjinKwon/SPARK-42903.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 07301b4)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…ue in docstring

### What changes were proposed in this pull request?

This PR proposes to remove None as as a return value in docstring.

### Why are the changes needed?

To be consistent with the current documentation. Also, it's idiomatic to don't specify the return for `return None`.

### Does this PR introduce _any_ user-facing change?

Yes, it changes the user-facing documentation.

### How was this patch tested?

Doc build in the CI should verify them.

Closes apache#40530 from HyukjinKwon/SPARK-42903.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 07301b4)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@HyukjinKwon HyukjinKwon deleted the SPARK-42903 branch January 15, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants