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
docstrings of runpy.run_{module,path} are rather sparse #70979
Labels
3.7
only security fixes
3.8
only security fixes
docs
Documentation in the Doc dir
easy
type-feature
A feature request or enhancement
Comments
$ pydoc runpy run_module(mod_name, init_globals=None, run_name=None, alter_sys=False)
Execute a module's code without importing it
Returns the resulting top level namespace dictionary
run_path(path_name, init_globals=None, run_name=None)
Execute code located at the specified filesystem location
Returns the resulting top level namespace dictionary
The file path may refer directly to a Python script (i.e.
one that could be directly executed with execfile) or else
it may refer to a zipfile or directory containing a top
level __main__.py script. The meaning of the arguments should be documented (e.g. by copy-pasting the html docs). (And some sentences are missing final dots.) |
I'll update these based on the information in the HTML docs. |
JelleZijlstra
added a commit
that referenced
this issue
Apr 15, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Apr 15, 2022
…2265) Noticed while reviewing pythonGH-30729. (cherry picked from commit f1e989b) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
miss-islington
added a commit
that referenced
this issue
Apr 15, 2022
miss-islington
added a commit
that referenced
this issue
Apr 15, 2022
hello-adam
pushed a commit
to hello-adam/cpython
that referenced
this issue
Jun 2, 2022
…2265) Noticed while reviewing pythonGH-30729. (cherry picked from commit f1e989b) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@JelleZijlstra The issue seems to be resolved with the merged PRs. I think the issue can be closed. |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.7
only security fixes
3.8
only security fixes
docs
Documentation in the Doc dir
easy
type-feature
A feature request or enhancement
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: