mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Replace various Incompletes in stdlib (#11673)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@ class DOMBuilder:
|
||||
def supportsFeature(self, name: str) -> bool: ...
|
||||
def canSetFeature(self, name: str, state: int) -> bool: ...
|
||||
# getFeature could return any attribute from an instance of `Options`
|
||||
def getFeature(self, name: str): ...
|
||||
def getFeature(self, name: str) -> Any: ...
|
||||
def parseURI(self, uri: str) -> ExpatBuilder | ExpatBuilderNS: ...
|
||||
def parse(self, input: DOMInputSource) -> ExpatBuilder | ExpatBuilderNS: ...
|
||||
# `input` and `cnode` argtypes for `parseWithContext` are unknowable
|
||||
|
||||
Reference in New Issue
Block a user