gh-101100: Fix reference to `parse_args` in `optparse.rst` · Pull Request #105265 · python/cpython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
However, this currently updates the links to point to the parse_args method of the argparse module, when it should be pointing to the parse_args method of this optparse module.
The reason we're getting warnings is because the optparse's parse_args doesn't yet have documentation in this optparse.rst file.
It does have a docstring, so that could be used as a starting point for adding it here:
| def parse_args(self, args=None, values=None): |