mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
13 lines
331 B
Python
13 lines
331 B
Python
from typing import overload, AnyStr, Text, Tuple
|
|
|
|
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: ...
|