We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21dd93 commit e8eaf36Copy full SHA for e8eaf36
mypy/config_parser.py
@@ -60,7 +60,7 @@ def parse_version(v: str | float) -> tuple[int, int]:
60
return major, minor
61
62
63
-def try_split(v: str | Sequence[str] | Any, split_regex: str = "[,]") -> list[str]:
+def try_split(v: str | Sequence[str] | object, split_regex: str = ",") -> list[str]:
64
"""Split and trim a str or sequence (eg: list) of str into a list of str.
65
If an element of the input is not str, a type error will be raised."""
66
0 commit comments