| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks. Should this still attempt to call self._set_color(color) in this case? Or else if it cannot, say "deprecated and does nothing" in the warning/docs? |
Sorry, something went wrong.
|
|
||
| * :mod:`argparse`: | ||
|
|
||
| * The *color* parameter of :class:`~argparse.HelpFormatter` is deprecated. |
There was a problem hiding this comment.
It's undocumented, fix the Sphinx warning:
| * The *color* parameter of :class:`~argparse.HelpFormatter` is deprecated. | |
| * The *color* parameter of :class:`!HelpFormatter` is deprecated. |
Sorry, something went wrong.
| @@ -0,0 +1 @@ | |||
| Deprecate :class:`~argparse.HelpFormatter`'s *color* parameter. Users should use the *color* parameter on :class:`~argparse.ArgumentParser` instead. | |||
There was a problem hiding this comment.
| Deprecate :class:`~argparse.HelpFormatter`'s *color* parameter. Users should use the *color* parameter on :class:`~argparse.ArgumentParser` instead. | |
| Deprecate :class:`!HelpFormatter`'s *color* parameter. Use the *color* parameter on :class:`~argparse.ArgumentParser` instead. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Never documented and buggy but alas, still used, so we need a deprecation warning. More context here: #142274 (comment)