mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
xml stubtest exceptions (#5161)
* Explaining xml stubtest exceptions * Fix 3.6/3.7 ExternalEntityParserCreate * Fix typos and formatting * Missing return type * Reverting ExternalEntityParserCreate change to see error * Remove unused sys import * Readd ExternalEntityParserCreate with explanations
This commit is contained in:
@@ -19,7 +19,7 @@ def prepare_predicate(next: _next, token: _token) -> _callback: ...
|
||||
ops: Dict[str, Callable[[_next, _token], _callback]]
|
||||
|
||||
class _SelectorContext:
|
||||
parent_map: Dict[Element, Element]
|
||||
parent_map: Optional[Dict[Element, Element]]
|
||||
root: Element
|
||||
def __init__(self, root: Element) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user