Skip to content

Commit fc4eb12

Browse files
committed
Filter chains can in fact be sequences
1 parent cb0e8ac commit fc4eb12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/3.3/lzma.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import io
22
import sys
3-
from typing import Any, BinaryIO, IO, List, Mapping, Optional, Union
3+
from typing import Any, BinaryIO, IO, List, Mapping, Optional, Sequence, Union
44

55
if sys.version_info >= (3, 6):
66
from os import PathLike
77
_PathOrFile = Union[str, bytes, IO[Any], PathLike[Any]]
88
else:
99
_PathOrFile = Union[str, bytes, IO[Any]]
1010

11-
_FilterChain = List[Mapping[str, Any]]
11+
_FilterChain = Sequence[Mapping[str, Any]]
1212

1313
FORMAT_AUTO: int
1414
FORMAT_XZ: int

0 commit comments

Comments
 (0)