mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-21 04:57:03 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
1 parent
f94bbfbcc4
commit
88fa182253
97 files changed
+625
-632
No files matched your search
@@ -7,7 +7,7 @@ from bleach import _HTMLAttrKey
|
||||
_HTMLAttrs: TypeAlias = MutableMapping[_HTMLAttrKey, str]
|
||||
|
||||
class _Callback(Protocol): # noqa: Y046
|
||||
def __call__(self, __attrs: _HTMLAttrs, __new: bool = ...) -> _HTMLAttrs: ...
|
||||
def __call__(self, attrs: _HTMLAttrs, new: bool = ..., /) -> _HTMLAttrs: ...
|
||||
|
||||
def nofollow(attrs: _HTMLAttrs, new: bool = False) -> _HTMLAttrs: ...
|
||||
def target_blank(attrs: _HTMLAttrs, new: bool = False) -> _HTMLAttrs: ...
|
||||
Reference in new issue
Block a user