mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Add _ExtendAction to argparse (#8701)
_ExtendAction was added to argparse since python 3.8. Reference of the addition to the standard library: python/cpython@aa32a7e
This commit is contained in:
committed by
GitHub
parent
b98ee679fb
commit
cc7d2567f2
@@ -399,6 +399,10 @@ class _StoreFalseAction(_StoreConstAction):
|
||||
# undocumented
|
||||
class _AppendAction(Action): ...
|
||||
|
||||
# undocumented
|
||||
if sys.version_info >= (3, 8):
|
||||
class _ExtendAction(_AppendAction): ...
|
||||
|
||||
# undocumented
|
||||
class _AppendConstAction(Action):
|
||||
if sys.version_info >= (3, 11):
|
||||
|
||||
Reference in New Issue
Block a user