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:
@@ -3,8 +3,9 @@
|
||||
# Anything not referenced in the PyInstaller stubs doesn't need to be added here.
|
||||
|
||||
from types import CodeType
|
||||
from typing import Protocol
|
||||
from typing import Protocol, type_check_only
|
||||
|
||||
@type_check_only
|
||||
class _SupportsGraphident(Protocol):
|
||||
graphident: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user