diff options
author | Steve Dower <steve.dower@python.org> | 2022-07-29 16:24:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 16:24:56 (GMT) |
commit | e3bae80e70fce83f1fca70738e68177127831324 (patch) | |
tree | 58a8df8d66274c79b38f89fa6689ea94c84632a7 /Doc/library/os.rst | |
parent | f81a6c5fc7b13bd2076bdb1481c6085e0ed67184 (diff) | |
download | cpython-e3bae80e70fce83f1fca70738e68177127831324.zip cpython-e3bae80e70fce83f1fca70738e68177127831324.tar.gz cpython-e3bae80e70fce83f1fca70738e68177127831324.tar.bz2 |
gh-94302: Clarify use of the 'open' operation in os.startfile (GH-95441)
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index d3500d5..9567dab 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -4229,13 +4229,13 @@ written in Python, such as a mail server's external command delivery program. Start a file with its associated application. - When *operation* is not specified or ``'open'``, this acts like double-clicking + When *operation* is not specified, this acts like double-clicking the file in Windows Explorer, or giving the file name as an argument to the :program:`start` command from the interactive command shell: the file is opened with whatever application (if any) its extension is associated. When another *operation* is given, it must be a "command verb" that specifies - what should be done with the file. Common verbs documented by Microsoft are + what should be done with the file. Common verbs documented by Microsoft are ``'open'``, ``'print'`` and ``'edit'`` (to be used on files) as well as ``'explore'`` and ``'find'`` (to be used on directories). |