diff --git a/stdlib/2/ConfigParser.pyi b/stdlib/2/ConfigParser.pyi index 0dcc2a7e9..67b034025 100644 --- a/stdlib/2/ConfigParser.pyi +++ b/stdlib/2/ConfigParser.pyi @@ -1,4 +1,4 @@ -from typing import Any, Tuple, IO +from typing import Any, IO, Sequence, Tuple, Union __all__ = ... # type: list[str] DEFAULTSECT = ... # type: str @@ -66,7 +66,7 @@ class RawConfigParser: def add_section(self, section: str) -> None: ... def has_section(self, section: str) -> bool: ... def options(self, section: str) -> list[str]: ... - def read(self, filenames: str) -> list[str]: ... + def read(self, filenames: Union[str, Sequence[str]]) -> list[str]: ... def readfp(self, fp: IO[str], filename: str = ...) -> None: ... def get(self, section: str, option: str) -> str: ... def items(self, section: str) -> list[Tuple[Any, Any]]: ...