summaryrefslogtreecommitdiffstats
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2020-09-17 00:37:51 (GMT)
committerGitHub <noreply@github.com>2020-09-17 00:37:51 (GMT)
commita9ba8ba9a71f3cb8d274c354ff67b6206abeb8ac (patch)
tree75d7cd7a6579d2f0b9ea4d510d142ad21709385d /Python/getopt.c
parent4465df626684fdc8eeb25ca248218cde2eeeb9ec (diff)
downloadcpython-a9ba8ba9a71f3cb8d274c354ff67b6206abeb8ac.zip
cpython-a9ba8ba9a71f3cb8d274c354ff67b6206abeb8ac.tar.gz
cpython-a9ba8ba9a71f3cb8d274c354ff67b6206abeb8ac.tar.bz2
[3.9] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22282)
fix default `_missing_` to return `None` instead of raising a `ValueError` Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com> (cherry picked from commit c95ad7a91fbd7636f33a098d3b39964ab083bf49) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions