Skip to content

Commit 22d26b2

Browse files
committed
remove internal, unused xml.etree._ListDataStream
1 parent fe1a623 commit 22d26b2

File tree

3 files changed

+3
-32
lines changed

3 files changed

+3
-32
lines changed

stdlib/3.3/xml/etree/ElementTree.pyi

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

5-
from typing import Any, AnyStr, Union, IO, Callable, Dict, List, Tuple, Sequence, Iterator, TypeVar, Optional, KeysView, ItemsView, Generator, no_type_check
5+
from typing import Any, AnyStr, Union, IO, Callable, Dict, List, Tuple, Sequence, Iterator, TypeVar, Optional, KeysView, ItemsView, Generator
66
import io
77

88
VERSION = ... # type: str
@@ -74,16 +74,6 @@ class ElementTree:
7474

7575
def register_namespace(prefix: str, uri: str) -> None: ...
7676
def tostring(element: Element, encoding: str=..., method: str=...) -> str: ...
77-
78-
class _ListDataStream(io.BufferedIOBase):
79-
lst = ... # type: List[str]
80-
def __init__(self, lst) -> None: ...
81-
def writable(self) -> bool: ...
82-
def seekable(self) -> bool: ...
83-
@no_type_check # not same signature as parent
84-
def write(self, b: str) -> None: ...
85-
def tell(self) -> int: ...
86-
8777
def tostringlist(element: Element, encoding: str=..., method: str=...) -> List[str]: ...
8878
def dump(elem: Element) -> None: ...
8979
def parse(source: _file_or_filename, parser: 'XMLParser'=...) -> ElementTree: ...

stdlib/3.4/xml/etree/ElementTree.pyi

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

5-
from typing import Any, AnyStr, Union, IO, Callable, Dict, List, Tuple, Sequence, Iterator, TypeVar, Optional, KeysView, ItemsView, Generator, no_type_check
5+
from typing import Any, AnyStr, Union, IO, Callable, Dict, List, Tuple, Sequence, Iterator, TypeVar, Optional, KeysView, ItemsView, Generator
66
import io
77

88
VERSION = ... # type: str
@@ -75,15 +75,6 @@ class ElementTree:
7575
def register_namespace(prefix: str, uri: str) -> None: ...
7676
def tostring(element: Element, encoding: str=..., method: str=..., *, short_empty_elements: bool=...) -> str: ...
7777

78-
class _ListDataStream(io.BufferedIOBase):
79-
lst = ... # type: List[str]
80-
def __init__(self, lst) -> None: ...
81-
def writable(self) -> bool: ...
82-
def seekable(self) -> bool: ...
83-
@no_type_check # not same signature as parent
84-
def write(self, b: str) -> None: ...
85-
def tell(self) -> int: ...
86-
8778
def tostringlist(element: Element, encoding: str=..., method: str=..., *, short_empty_elements: bool=...) -> List[str]: ...
8879
def dump(elem: Element) -> None: ...
8980
def parse(source: _file_or_filename, parser: 'XMLParser'=...) -> ElementTree: ...

stdlib/3.5/xml/etree/ElementTree.pyi

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

5-
from typing import Any, AnyStr, Union, IO, Callable, Dict, List, Tuple, Sequence, Iterator, TypeVar, Optional, KeysView, ItemsView, Generator, no_type_check
5+
from typing import Any, AnyStr, Union, IO, Callable, Dict, List, Tuple, Sequence, Iterator, TypeVar, Optional, KeysView, ItemsView, Generator
66
import io
77

88
VERSION = ... # type: str
@@ -74,16 +74,6 @@ class ElementTree:
7474

7575
def register_namespace(prefix: str, uri: str) -> None: ...
7676
def tostring(element: Element, encoding: str=..., method: str=..., *, short_empty_elements: bool=...) -> str: ...
77-
78-
class _ListDataStream(io.BufferedIOBase):
79-
lst = ... # type: List[str]
80-
def __init__(self, lst) -> None: ...
81-
def writable(self) -> bool: ...
82-
def seekable(self) -> bool: ...
83-
@no_type_check # not same signature as parent
84-
def write(self, b: str) -> None: ...
85-
def tell(self) -> int: ...
86-
8777
def tostringlist(element: Element, encoding: str=..., method: str=..., *, short_empty_elements: bool=...) -> List[str]: ...
8878
def dump(elem: Element) -> None: ...
8979
def parse(source: _file_or_filename, parser: 'XMLParser'=...) -> ElementTree: ...

0 commit comments

Comments
 (0)