mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Add __all__ for modules beginning with 'u', 'x', 'w' and 'z' (#7374)
This commit is contained in:
@@ -6,6 +6,8 @@ from .headers import Headers
|
||||
from .types import ErrorStream, InputStream, StartResponse, WSGIApplication, WSGIEnvironment
|
||||
from .util import FileWrapper
|
||||
|
||||
__all__ = ["BaseHandler", "SimpleHandler", "BaseCGIHandler", "CGIHandler", "IISCGIHandler", "read_environ"]
|
||||
|
||||
_exc_info = tuple[Optional[type[BaseException]], Optional[BaseException], Optional[TracebackType]]
|
||||
|
||||
def format_date_time(timestamp: float | None) -> str: ... # undocumented
|
||||
|
||||
@@ -4,6 +4,8 @@ from typing import TypeVar, overload
|
||||
from .handlers import SimpleHandler
|
||||
from .types import ErrorStream, StartResponse, WSGIApplication, WSGIEnvironment
|
||||
|
||||
__all__ = ["WSGIServer", "WSGIRequestHandler", "demo_app", "make_server"]
|
||||
|
||||
server_version: str # undocumented
|
||||
sys_version: str # undocumented
|
||||
software_version: str # undocumented
|
||||
|
||||
@@ -3,6 +3,8 @@ from typing import IO, Any, Callable
|
||||
|
||||
from .types import WSGIEnvironment
|
||||
|
||||
__all__ = ["FileWrapper", "guess_scheme", "application_uri", "request_uri", "shift_path_info", "setup_testing_defaults"]
|
||||
|
||||
class FileWrapper:
|
||||
filelike: IO[bytes]
|
||||
blksize: int
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
from _typeshed.wsgi import ErrorStream, InputStream, WSGIApplication
|
||||
from typing import Any, Callable, Iterable, Iterator, NoReturn
|
||||
|
||||
__all__ = ["validator"]
|
||||
|
||||
class WSGIWarning(Warning): ...
|
||||
|
||||
def validator(application: WSGIApplication) -> WSGIApplication: ...
|
||||
|
||||
Reference in New Issue
Block a user