mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 09:37:30 +08:00
Add more annotations to xml.dom.minidom and xml.sax.handler (#8590)
This commit is contained in:
1 parent
57495ddaf4
commit
269c07589a
2 files changed
+46
-45
No files matched your search
@@ -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