mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 20:31:32 +08:00
Annotate **kwargs with dictionary value type only (#320)
This commit is contained in:
@@ -39,8 +39,8 @@ class _ElementInterface(Sequence['_ElementInterface']):
|
||||
def items(self) -> ItemsView[AnyStr, AnyStr]: ...
|
||||
def getiterator(self, tag: Union[str, AnyStr]=...) -> List['_ElementInterface']: ...
|
||||
|
||||
def Element(tag: Union[AnyStr, Callable[..., _ElementInterface]], attrib: Dict[AnyStr, AnyStr]=..., **extra: Dict[str, AnyStr]) -> _ElementInterface: ...
|
||||
def SubElement(parent: _ElementInterface, tag: AnyStr, attrib: Dict[AnyStr, AnyStr]=..., **extra: Dict[str, AnyStr]) -> _ElementInterface: ...
|
||||
def Element(tag: Union[AnyStr, Callable[..., _ElementInterface]], attrib: Dict[AnyStr, AnyStr]=..., **extra: AnyStr) -> _ElementInterface: ...
|
||||
def SubElement(parent: _ElementInterface, tag: AnyStr, attrib: Dict[AnyStr, AnyStr]=..., **extra: AnyStr) -> _ElementInterface: ...
|
||||
def Comment(text: _str_or_bytes=...) -> _ElementInterface: ...
|
||||
def ProcessingInstruction(target: str, text: str=...) -> _ElementInterface: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user