Skip to content

Commit

Permalink
Reference types correctly for the argument
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks committed Aug 31, 2024
1 parent 9f38190 commit 9d9216e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/trio/_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ async def _open_process(
want.
Args:
command (str or byte or sequence of either): The command to run. Typically
this is a sequence of strings or bytes such as ``['ls', '-l',
'directory with spaces']``, where the first element names the
command (str or bytes or Sequence[str] or Sequence[bytes]): The command to
run. Typically this is a sequence of strings or bytes such as ``['ls',
'-l', 'directory with spaces']``, where the first element names the
executable to invoke and the other elements specify its arguments.
With ``shell=True`` in the ``**options``, or on Windows, ``command``
may alternatively be a string or bytes, which will be parsed following
Expand Down

0 comments on commit 9d9216e

Please sign in to comment.