Commits · python/cpython

Commits on May 2, 2022

Commits on May 1, 2022

  1. bpo-39716: Raise on conflicting subparser names. (GH-18605)

    Raise an ArgumentError when the same subparser name is added twice to an
    ArgumentParser.  This is consistent with the (default) behavior when the
    same option string is added twice to an ArgumentParser.
    
    (Support for `conflict_handler="resolve"` could be considered as a
    followup feature, although real use cases seem even rarer than
    "resolve"ing option-strings.)
    
    Automerge-Triggered-By: GH:rhettinger

Commits on Apr 30, 2022

  1. Improving readability of argparse.rst (GH-91751)

    Fixed few typos and enhanced few paragraphs for your review and consideration.
    Trivial contribution towards continuous improvement, so no issue was raised.
    
    Automerge-Triggered-By: GH:rhettinger
  2. gh-91611: Use example.com for documentation, not mydomain.com (#91613)

    example.com is reserved by the IANA as special-use domain name for documentation
    purposes. The domain names are used widely in books, tutorials, sample network
    configurations, and generally as examples for the use of domain name.
    
    On the other hand, mydomain.com is real Domain Name Registration service.