Add __all__ for modules beginning with 'c' and 'd' (#7303)

This commit is contained in:
Alex Waygood
2022-02-20 01:51:27 +00:00
committed by GitHub
parent ebdbd564be
commit e9db3bd50a
8 changed files with 116 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ from types import TracebackType
from typing import Iterator, MutableMapping, Union
from typing_extensions import Literal
__all__ = ["open", "whichdb", "error"]
_KeyType = Union[str, bytes]
_ValueType = Union[str, bytes]
_TFlags = Literal[

View File

@@ -2,6 +2,8 @@ from _typeshed import Self
from types import TracebackType
from typing import Iterator, MutableMapping, Union
__all__ = ["error", "open"]
_KeyType = Union[str, bytes]
_ValueType = Union[str, bytes]