Skip to content

Commit e3bae80

Browse files
authored
gh-94302: Clarify use of the 'open' operation in os.startfile (GH-95441)
1 parent f81a6c5 commit e3bae80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4229,13 +4229,13 @@ written in Python, such as a mail server's external command delivery program.
42294229

42304230
Start a file with its associated application.
42314231

4232-
When *operation* is not specified or ``'open'``, this acts like double-clicking
4232+
When *operation* is not specified, this acts like double-clicking
42334233
the file in Windows Explorer, or giving the file name as an argument to the
42344234
:program:`start` command from the interactive command shell: the file is opened
42354235
with whatever application (if any) its extension is associated.
42364236

42374237
When another *operation* is given, it must be a "command verb" that specifies
4238-
what should be done with the file. Common verbs documented by Microsoft are
4238+
what should be done with the file. Common verbs documented by Microsoft are ``'open'``,
42394239
``'print'`` and ``'edit'`` (to be used on files) as well as ``'explore'`` and
42404240
``'find'`` (to be used on directories).
42414241

0 commit comments

Comments
 (0)