mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Python 3.11 removals in stdlib (#6374)
Co-authored-by: Akuli <akuviljanen17@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from typing import IO, Any, Sequence, Tuple, Union
|
||||
from typing_extensions import Literal
|
||||
from xml.dom.minidom import Document, DOMImplementation, Element, Text
|
||||
@@ -66,7 +67,8 @@ class DOMEventStream:
|
||||
bufsize: int
|
||||
def __init__(self, stream: IO[bytes], parser: XMLReader, bufsize: int) -> None: ...
|
||||
pulldom: Any
|
||||
def __getitem__(self, pos): ...
|
||||
if sys.version_info < (3, 11):
|
||||
def __getitem__(self, pos): ...
|
||||
def __next__(self): ...
|
||||
def __iter__(self): ...
|
||||
def getEvent(self) -> _Event: ...
|
||||
|
||||
Reference in New Issue
Block a user