| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
_ExtendAction was added to argparse since python 3.8. I am adding it here, since it is missing Reference of the addition to the standard library: python/cpython@aa32a7e
There was a problem hiding this comment.
Looks good! We need to use a sys.version_info guard, though, since it's not available on 3.7:
Sorry, something went wrong.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
Thanks for the quick review! |
Sorry, something went wrong.
|
Diff from mypy_primer, showing the effect of this PR on open source code: pylint (https://github.com/pycqa/pylint)
+ pylint/config/argument.py:370: error: Incompatible types in assignment (expression has type "Type[pylint.config.callback_actions._ExtendAction]", variable has type "Type[argparse._ExtendAction]") [assignment]
+ pylint/config/argument.py:368: error: Unused "type: ignore" comment
|
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks! And welcome to typeshed!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
_ExtendAction was added to argparse since python 3.8. I am adding it here, since it is missing
Reference of the addition to the standard library: python/cpython@aa32a7e