Add more annotations to xml.dom.minidom and xml.sax.handler (#8590)

This commit is contained in:
Kevin Kirsche
2022-08-22 11:20:34 -04:00
committed by GitHub
parent 57495ddaf4
commit 269c07589a
2 changed files with 46 additions and 45 deletions

View File

@@ -1,11 +1,12 @@
import sys
from typing import NoReturn
version: str
class ErrorHandler:
def error(self, exception): ...
def fatalError(self, exception): ...
def warning(self, exception): ...
def error(self, exception: BaseException) -> NoReturn: ...
def fatalError(self, exception: BaseException) -> NoReturn: ...
def warning(self, exception: BaseException) -> None: ...
class ContentHandler:
def __init__(self) -> None: ...