mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
Add @type_check_only to stub-only private classes in various third-party stubs (#15535)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from collections.abc import Callable
|
||||
from typing import Final, Literal, TypedDict
|
||||
from typing import Final, Literal, TypedDict, type_check_only
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
@type_check_only
|
||||
class _RPi_Info(TypedDict):
|
||||
P1_REVISION: int
|
||||
REVISION: str
|
||||
|
||||
Reference in New Issue
Block a user