mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-26 08:44:14 +08:00
16ae4c6120
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
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: ...
|