mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-15 21:12:58 +08:00
Add @type_check_only to stub-only private classes in stdlib (#14512)
This commit is contained in:
1 parent
dde70aeecd
commit
622df68c1c
61 files changed
+188
-51
No files matched your search
@@ -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