summaryrefslogtreecommitdiff
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorJonathon Reinhart <JonathonReinhart@users.noreply.github.com>2022-09-05 17:32:23 -0400
committerGitHub <noreply@github.com>2022-09-05 14:32:23 -0700
commit30878a7735f7d5cf2023f5b2758feee850b60700 (patch)
tree75ea0332a9fb8bb48cde52a433eb168ee93fb9a0 /Python/specialize.c
parentc4999f261fb0cb28ef713b48ef2e81ca5a3eb1e1 (diff)
downloadcpython-git-30878a7735f7d5cf2023f5b2758feee850b60700.tar.gz
argparse: Remove unused name variable when handling ArgumentTypeError (#96549)
This removes the unused `name` variable in the block where `ArgumentTypeError` is handled. `ArgumentTypeError` errors are handled by showing just the string of the exception; unlike `ValueError`, the name (`__name__`) of the function is not included in the error message. Fixes #96548
Diffstat (limited to 'Python/specialize.c')
0 files changed, 0 insertions, 0 deletions