OILS / pyext / fastfunc.pyi View on Github | oilshell.org

11 lines, 6 significant
1from typing import Tuple
2
3def J8EncodeString(s: str, j8_fallback: int) -> str: ...
4
5def ShellEncodeString(s: str, ysh_fallback: int) -> str: ...
6
7def PartIsUtf8(s: str, start: int, end: int) -> bool: ...
8
9def Utf8DecodeOne(s: str, start: int) -> Tuple[int, int]: ...
10
11def CanOmitQuotes(s: str) -> bool: ...