mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
11 lines
329 B
Python
11 lines
329 B
Python
from typing import AnyStr, Text, Tuple, overload
|
|
|
|
def getstatus(file: Text) -> str: ...
|
|
def getoutput(cmd: Text) -> str: ...
|
|
def getstatusoutput(cmd: Text) -> Tuple[int, str]: ...
|
|
@overload
|
|
def mk2arg(head: bytes, x: bytes) -> bytes: ...
|
|
@overload
|
|
def mk2arg(head: Text, x: Text) -> Text: ...
|
|
def mkarg(x: AnyStr) -> AnyStr: ...
|