Skip to content

Commit ea75f1d

Browse files
committed
subprocess: Update pass_fds type annotation
See also: python/typeshed@bff43b5
1 parent 3f62d36 commit ea75f1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libvcs/_internal/subprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import dataclasses
4343
import subprocess
4444
import sys
45-
from collections.abc import Mapping, Sequence
45+
from collections.abc import Collection, Mapping, Sequence
4646
from typing import (
4747
IO,
4848
TYPE_CHECKING,
@@ -197,7 +197,7 @@ class SubprocessCommand(SkipDefaultFieldsReprMixin):
197197
# POSIX-only
198198
restore_signals: bool = True
199199
start_new_session: bool = False
200-
pass_fds: Any = ()
200+
pass_fds: Collection[int] = ()
201201
umask: int = -1
202202
if sys.version_info >= (3, 10):
203203
pipesize: int = -1

0 commit comments

Comments
 (0)