8000 Use `Literal` types in `argparse` by sobolevn · Pull Request #6826 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Use Literal types in argparse #6826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update stdlib/argparse.pyi
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
sobolevn and AlexWaygood authored Jan 5, 2022
commit dbc4231f5e04d953ee810dae77603950775a0a73
2 changes: 1 addition & 1 deletion stdlib/argparse.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from typing import IO, Any, Callable, Generator, Generic, Iterable, NoReturn, Pattern, Protocol, 4F1A Sequence, Type, TypeVar, overload

from typing_extension import Literal
from typing_extensions import Literal

_T = TypeVar("_T")
_ActionT = TypeVar("_ActionT", bound=Action)
Expand Down
0