Skip to content

Commit

Permalink
Fix _parse_known_args monkeypatching
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Dec 6, 2024
1 parent 8c586f6 commit 7706fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argcomplete/packages/_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class IntrospectiveArgumentParser(ArgumentParser):
except for the lines that contain the string "Added by argcomplete".
'''

def _parse_known_args(self, arg_strings, namespace):
def _parse_known_args(self, arg_strings, namespace, intermixed=False):
_num_consumed_args.clear() # Added by argcomplete
self._argcomplete_namespace = namespace
self.active_actions: List[Action] = [] # Added by argcomplete
Expand Down

0 comments on commit 7706fd0

Please sign in to comment.