diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2023-05-04 08:17:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 08:17:12 (GMT) |
commit | d0122372f2acb4cc56b89ab8c577ff9039d17d89 (patch) | |
tree | f50db57b34be236de4b6c7a829897d932468fbaf /Doc/library/runpy.rst | |
parent | cd9a56c2b0e14f56f2e83dd4db43c5c69a74b232 (diff) | |
download | cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.zip cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.gz cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.bz2 |
GH-97950: Use new-style index directive ('module') (#103996)
* Use new-style index directive ('module') - C API
* Use new-style index directive ('module') - Library
* Use new-style index directive ('module') - Reference
* Use new-style index directive ('module') - Tutorial
* Uncomment module removal in pairindextypes
* Use new-style index directive ('module') - C API
* Use new-style index directive ('module') - Library
* Use new-style index directive ('module') - Reference
Diffstat (limited to 'Doc/library/runpy.rst')
-rw-r--r-- | Doc/library/runpy.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/runpy.rst b/Doc/library/runpy.rst index 501f4dd..42ed8c2 100644 --- a/Doc/library/runpy.rst +++ b/Doc/library/runpy.rst @@ -30,7 +30,7 @@ The :mod:`runpy` module provides two functions: .. function:: run_module(mod_name, init_globals=None, run_name=None, alter_sys=False) .. index:: - module: __main__ + pair: module; __main__ Execute the code of the specified module and return the resulting module globals dictionary. The module's code is first located using the standard @@ -101,7 +101,7 @@ The :mod:`runpy` module provides two functions: .. function:: run_path(path_name, init_globals=None, run_name=None) .. index:: - module: __main__ + pair: module; __main__ Execute the code at the named filesystem location and return the resulting module globals dictionary. As with a script name supplied to the CPython |