]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-94302: Clarify use of the 'open' operation in os.startfile (GH-95441)
authorSteve Dower <steve.dower@python.org>
Fri, 29 Jul 2022 16:24:56 +0000 (17:24 +0100)
committerGitHub <noreply@github.com>
Fri, 29 Jul 2022 16:24:56 +0000 (17:24 +0100)
Doc/library/os.rst

index d3500d5a1b3298db5bc5daaaf6e7ff7e572b599c..9567dab81ff5ecc65385edf05b98635518b0c8a7 100644 (file)
@@ -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).