mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Remove unnecessary ellipsis expressions (#9976)
Ignore flake8 F821 warnings in stub files
This commit is contained in:
@@ -113,7 +113,7 @@ class _SpecialForm:
|
||||
# typing.Protocol and typing_extensions.Protocol so they can properly
|
||||
# warn users about potential runtime exceptions when using typing.Protocol
|
||||
# on older versions of Python.
|
||||
Protocol: _SpecialForm = ...
|
||||
Protocol: _SpecialForm
|
||||
|
||||
def runtime_checkable(cls: _TC) -> _TC: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user