mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add __all__ to most modules beginning with 'q', 'r' and 's' (#7364)
This commit is contained in:
@@ -2,6 +2,11 @@ import sys
|
||||
from _typeshed import Self
|
||||
from typing import Iterable, TextIO
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
__all__ = ["shlex", "split", "quote", "join"]
|
||||
else:
|
||||
__all__ = ["shlex", "split", "quote"]
|
||||
|
||||
def split(s: str, comments: bool = ..., posix: bool = ...) -> list[str]: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
|
||||
Reference in New Issue
Block a user