Chris Jerdonek <chris.jerdo...@gmail.com> added the comment:
One thing that's interesting is that you don't get the "ambiguous option" error if what's provided is an exact match (even if a prefix of both). For example, if you instead parsed "--clea", it would give the error: > error: ambiguous option: --clea could match --clear-magic, --clear ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com