Skip to content

Commit cc7d256

Browse files
authored
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
1 parent b98ee67 commit cc7d256

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/argparse.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@ class _StoreFalseAction(_StoreConstAction):
399399
# undocumented
400400
class _AppendAction(Action): ...
401401

402+
# undocumented
403+
if sys.version_info >= (3, 8):
404+
class _ExtendAction(_AppendAction): ...
405+
402406
# undocumented
403407
class _AppendConstAction(Action):
404408
if sys.version_info >= (3, 11):

0 commit comments

Comments
 (0)