diff options
| author | robot-piglet <[email protected]> | 2024-04-19 11:04:45 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-04-19 11:13:28 +0300 |
| commit | 43f5db849a1fd2d841af666b9cda0dd3c5c8d892 (patch) | |
| tree | 768069c21fdf9769211bbd719dd13cca2fd8f4a7 /contrib/python | |
| parent | fcaf3fb9b490fbc93e214edaa99b5e5976183f78 (diff) | |
Intermediate changes
Diffstat (limited to 'contrib/python')
| -rw-r--r-- | contrib/python/argcomplete/py3/.dist-info/METADATA | 2 | ||||
| -rw-r--r-- | contrib/python/argcomplete/py3/argcomplete/packages/_argparse.py | 5 | ||||
| -rw-r--r-- | contrib/python/argcomplete/py3/ya.make | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/contrib/python/argcomplete/py3/.dist-info/METADATA b/contrib/python/argcomplete/py3/.dist-info/METADATA index acf27c40a4e..ffefd85b8cd 100644 --- a/contrib/python/argcomplete/py3/.dist-info/METADATA +++ b/contrib/python/argcomplete/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: argcomplete -Version: 3.2.3 +Version: 3.3.0 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk diff --git a/contrib/python/argcomplete/py3/argcomplete/packages/_argparse.py b/contrib/python/argcomplete/py3/argcomplete/packages/_argparse.py index 7a8b4fc8213..2a064f9a8f7 100644 --- a/contrib/python/argcomplete/py3/argcomplete/packages/_argparse.py +++ b/contrib/python/argcomplete/py3/argcomplete/packages/_argparse.py @@ -162,7 +162,10 @@ class IntrospectiveArgumentParser(ArgumentParser): def consume_optional(start_index): # get the optional identified at this index option_tuple = option_string_indices[start_index] - action, option_string, explicit_arg = option_tuple + if len(option_tuple) == 3: + action, option_string, explicit_arg = option_tuple + else: # Python 3.11.9+, 3.12.3+, 3.13+ + action, option_string, _, explicit_arg = option_tuple # identify additional optionals in the same arg string # (e.g. -xyz is the same as -x -y -z if no args are required) diff --git a/contrib/python/argcomplete/py3/ya.make b/contrib/python/argcomplete/py3/ya.make index 02e0bd87f85..9b867e4d8bc 100644 --- a/contrib/python/argcomplete/py3/ya.make +++ b/contrib/python/argcomplete/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(3.2.3) +VERSION(3.3.0) LICENSE(Apache-2.0) |
