Added missing type annotations in various stdlib stubs. (#4402)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric TrautandEric Traut authored and GitHub committed 2020-08-06 18:27:21 -07:00
1 parent 10a5b070ab
commit baaffed1ac
7 files changed
+43 -42

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
from typing import Any
class Node:
ELEMENT_NODE: int
ATTRIBUTE_NODE: int
@@ -32,7 +34,7 @@ VALIDATION_ERR: int
class DOMException(Exception):
code: int
def __init__(self, *args, **kw) -> None: ...
def __init__(self, *args: Any, **kw: Any) -> None: ...
def _get_code(self) -> int: ...
class IndexSizeErr(DOMException): ...