mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
* Add _AttributeHolder and _ActionsContainer classes to argparse. * Add Action subclasses to argparse. * Add _UNRECOGNIZED_ARGS_ATTR, _ensure_value, _get_action_name to argparse. * Fill in remaining _ActionsContainer attributes. * Fill in missing argparse.ArgumentParser attributes. * Fill in missing argparse.HelpFormatter attributes. * Fill in remaining missing attributes on argparse classes. * Rename TypeVar _ActionVar to _ActionT * Add a version check for FileType attributes * Add '# undocumented' where appropriate * Add more # undocumented comments * Make arguments to _ActionsContainer.add_argument more precise.