-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
bpo-26792: Improve docstrings of runpy module run_functions #30729
Conversation
@kumaraditya303 Sorry for tagging, but any further thoughts? |
1 similar comment
@kumaraditya303 Sorry for tagging, but any further thoughts? |
@JelleZijlstra would you be able to review this docs change ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, a few suggestions
@@ -245,14 +258,19 @@ def _get_code_from_file(run_name, fname): | |||
return code, fname | |||
|
|||
def run_path(path_name, init_globals=None, run_name=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, the docs get the name of the first param wrong. I'll create a separate PR to fix that.
Misc/NEWS.d/next/Documentation/2022-01-23-20-44-53.bpo-26792.dQ1v1W.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Documentation/2022-01-23-20-44-53.bpo-26792.dQ1v1W.rst
Outdated
Show resolved
Hide resolved
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Noticed while reviewing GH-30729.
…2265) Noticed while reviewing pythonGH-30729. (cherry picked from commit f1e989b) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@JelleZijlstra are you waiting for something before merging? |
I need to make sure CI is passing first. I plan to go over all PRs assigned to me by the core sprints, so I'll make sure to get this through. |
Misc/NEWS.d/next/Documentation/2022-01-23-20-44-53.bpo-26792.dQ1v1W.rst
Outdated
Show resolved
Hide resolved
…Q1v1W.rst Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Thanks @humbdrag for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
GH-92050 is a backport of this pull request to the 3.10 branch. |
GH-92051 is a backport of this pull request to the 3.9 branch. |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> (cherry picked from commit 117836f) Co-authored-by: Humbled Drugman <humbled.drugman@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> (cherry picked from commit 117836f) Co-authored-by: Humbled Drugman <humbled.drugman@gmail.com>
…2265) Noticed while reviewing pythonGH-30729. (cherry picked from commit f1e989b) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Finish up https://bugs.python.org/issue26792, original PR #5921
https://bugs.python.org/issue26792