mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-30 11:36:58 +08:00
Remove some pytype workarounds from stdlib (#14470)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Alex Waygood
pre-commit-ci[bot]
parent
1a256d8211
commit
7e16c80989
+1
-2
@@ -24,8 +24,7 @@ __all__ = [
|
||||
"BadOptionError",
|
||||
"check_choice",
|
||||
]
|
||||
# pytype is not happy with `NO_DEFAULT: Final = ("NO", "DEFAULT")`
|
||||
NO_DEFAULT: Final[tuple[Literal["NO"], Literal["DEFAULT"]]]
|
||||
NO_DEFAULT: Final = ("NO", "DEFAULT")
|
||||
SUPPRESS_HELP: Final = "SUPPRESSHELP"
|
||||
SUPPRESS_USAGE: Final = "SUPPRESSUSAGE"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user