mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Fix subprocess.list2cmdline: wrong type of the seq argument (#6190)
This commit is contained in:
@@ -1016,7 +1016,12 @@ class Popen(Generic[AnyStr]):
|
||||
# The result really is always a str.
|
||||
def getstatusoutput(cmd: _TXT) -> tuple[int, str]: ...
|
||||
def getoutput(cmd: _TXT) -> str: ...
|
||||
def list2cmdline(seq: Iterable[str]) -> str: ... # undocumented
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def list2cmdline(seq: Iterable[StrOrBytesPath]) -> str: ... # undocumented
|
||||
|
||||
else:
|
||||
def list2cmdline(seq: Iterable[str]) -> str: ... # undocumented
|
||||
|
||||
if sys.platform == "win32":
|
||||
class STARTUPINFO:
|
||||
|
||||
Reference in New Issue
Block a user