Stubtest fixes for the latest patch release of py311 (#11107)

This commit is contained in:
Alex Waygood
2023-12-06 00:55:46 +00:00
committed by GitHub
parent fd7ff19577
commit 9eb099ed6b
3 changed files with 10 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ __all__ = [
if sys.version_info >= (3, 8):
__all__ += ["open_code"]
if sys.version_info >= (3, 11):
__all__ += ["DEFAULT_BUFFER_SIZE", "IncrementalNewlineDecoder", "text_encoding"]
_T = TypeVar("_T")
DEFAULT_BUFFER_SIZE: Literal[8192]