Remove empty __init__ methods (#8816)

This commit is contained in:
Nikita Sobolev
2022-09-30 15:08:41 +03:00
committed by GitHub
parent deff426b6f
commit 380022c650
33 changed files with 1 additions and 44 deletions

View File

@@ -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: ...

View File

@@ -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): ...

View File

@@ -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): ...