wsgiref: update __all__ for py313 (#11940)

GH-111770
This commit is contained in:
Shantanu
2024-05-18 02:53:26 -07:00
committed by GitHub
parent 53439861c5
commit abfb72e106

View File

@@ -4,6 +4,8 @@ from collections.abc import Callable
from typing import IO, Any
__all__ = ["FileWrapper", "guess_scheme", "application_uri", "request_uri", "shift_path_info", "setup_testing_defaults"]
if sys.version_info >= (3, 13):
__all__ += ["is_hop_by_hop"]
class FileWrapper:
filelike: IO[bytes]