mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
import sys
|
||||
from collections.abc import Iterable
|
||||
from typing import TextIO
|
||||
from typing_extensions import Self
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
__all__ = ["shlex", "split", "quote", "join"]
|
||||
else:
|
||||
__all__ = ["shlex", "split", "quote"]
|
||||
__all__ = ["shlex", "split", "quote", "join"]
|
||||
|
||||
def split(s: str, comments: bool = False, posix: bool = True) -> list[str]: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def join(split_command: Iterable[str]) -> str: ...
|
||||
|
||||
def join(split_command: Iterable[str]) -> str: ...
|
||||
def quote(s: str) -> str: ...
|
||||
|
||||
class shlex(Iterable[str]):
|
||||
|
||||
Reference in New Issue
Block a user