mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-12 19:30:53 +08:00
Add @type_check_only to stub-only private classes in stdlib (#14512)
This commit is contained in:
@@ -76,6 +76,7 @@ _TFlags: TypeAlias = Literal[
|
||||
"nusf",
|
||||
]
|
||||
|
||||
@type_check_only
|
||||
class _Database(MutableMapping[_KeyType, bytes]):
|
||||
def close(self) -> None: ...
|
||||
def __getitem__(self, key: _KeyType) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user