diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 7c717619050..6d6bbcf9025 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1698,7 +1698,7 @@ Argument groups Mutual exclusion ^^^^^^^^^^^^^^^^ -.. method:: add_mutually_exclusive_group(required=False) +.. method:: ArgumentParser.add_mutually_exclusive_group(required=False) Create a mutually exclusive group. :mod:`argparse` will make sure that only one of the arguments in the mutually exclusive group was present on the