File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ The :mod:`runpy` module provides two functions:
93
93
run this way, as well as ensuring the real module name is always
94
94
accessible as ``__spec__.name ``.
95
95
96
- .. function :: run_path(file_path , init_globals=None, run_name=None)
96
+ .. function :: run_path(path_name , init_globals=None, run_name=None)
97
97
98
98
.. index ::
99
99
module: __main__
@@ -140,7 +140,7 @@ The :mod:`runpy` module provides two functions:
140
140
141
141
A number of alterations are also made to the :mod: `sys ` module. Firstly,
142
142
``sys.path `` may be altered as described above. ``sys.argv[0] `` is updated
143
- with the value of ``file_path `` and ``sys.modules[__name__] `` is updated
143
+ with the value of ``path_name `` and ``sys.modules[__name__] `` is updated
144
144
with a temporary module object for the module being executed. All
145
145
modifications to items in :mod: `sys ` are reverted before the function
146
146
returns.
You can’t perform that action at this time.
0 commit comments