From 98f94c3ba10372328323316d99f0ae37c4625723 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 20:23:03 +0000 Subject: [PATCH] Add `bz2.__all__` (#7290) --- stdlib/bz2.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/bz2.pyi b/stdlib/bz2.pyi index 6bc18382d..f1467acad 100644 --- a/stdlib/bz2.pyi +++ b/stdlib/bz2.pyi @@ -5,6 +5,8 @@ from _typeshed import ReadableBuffer, Self, StrOrBytesPath, WriteableBuffer from typing import IO, Any, Iterable, Protocol, TextIO, overload from typing_extensions import Literal, SupportsIndex, final +__all__ = ["BZ2File", "BZ2Compressor", "BZ2Decompressor", "open", "compress", "decompress"] + # The following attributes and methods are optional: # def fileno(self) -> int: ... # def close(self) -> object: ...