mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
Add more annotations to xml.dom.minidom and xml.sax.handler (#8590)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user