mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-12 16:10:12 +08:00
third-party: make some protocol params pos-only (#11006)
This commit is contained in:
1 parent
4deef7550f
commit
0c7bdffa90
7 files changed
+11
-11
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