X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fcoc-python-data%2FlanguageServer.0.5.59%2FTypeshed%2Fstdlib%2F3%2Fpipes.pyi;fp=.config%2Fcoc%2Fextensions%2Fcoc-python-data%2FlanguageServer.0.5.59%2FTypeshed%2Fstdlib%2F3%2Fpipes.pyi;h=35eafa3079248702fc73ed15b30f1578c5338672;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=0000000000000000000000000000000000000000;hpb=d2f432cc757f42f0318fdddcab8c00b240d47088;p=dotfiles%2F.git diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/pipes.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/pipes.pyi new file mode 100644 index 00000000..35eafa30 --- /dev/null +++ b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/pipes.pyi @@ -0,0 +1,19 @@ +# Stubs for pipes + +# Based on http://docs.python.org/3.5/library/pipes.html + +import os + +class Template: + def __init__(self) -> None: ... + def reset(self) -> None: ... + def clone(self) -> 'Template': ... + def debug(self, flag: bool) -> None: ... + def append(self, cmd: str, kind: str) -> None: ... + def prepend(self, cmd: str, kind: str) -> None: ... + def open(self, file: str, rw: str) -> os._wrap_close: ... + def copy(self, file: str, rw: str) -> os._wrap_close: ... + +# Not documented, but widely used. +# Documented as shlex.quote since 3.3. +def quote(s: str) -> str: ...