mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 21:31:09 +08:00
Remove empty __init__ methods (#8816)
This commit is contained in:
@@ -56,7 +56,6 @@ class DOMBuilder:
|
||||
ACTION_APPEND_AS_CHILDREN: Literal[2]
|
||||
ACTION_INSERT_AFTER: Literal[3]
|
||||
ACTION_INSERT_BEFORE: Literal[4]
|
||||
def __init__(self) -> None: ...
|
||||
def setFeature(self, name: str, state: int) -> None: ...
|
||||
def supportsFeature(self, name: str) -> bool: ...
|
||||
def canSetFeature(self, name: str, state: int) -> bool: ...
|
||||
|
||||
@@ -9,7 +9,6 @@ class ErrorHandler:
|
||||
def warning(self, exception: BaseException) -> None: ...
|
||||
|
||||
class ContentHandler:
|
||||
def __init__(self) -> None: ...
|
||||
def setDocumentLocator(self, locator): ...
|
||||
def startDocument(self): ...
|
||||
def endDocument(self): ...
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from collections.abc import Mapping
|
||||
|
||||
class XMLReader:
|
||||
def __init__(self) -> None: ...
|
||||
def parse(self, source): ...
|
||||
def getContentHandler(self): ...
|
||||
def setContentHandler(self, handler): ...
|
||||
|
||||
Reference in New Issue
Block a user