summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-09-24 21:02:18 (GMT)
committerGitHub <noreply@github.com>2024-09-24 21:02:18 (GMT)
commit950fab46ad3a1960aa289d2d1de55447b88e25d7 (patch)
tree5656626c045aa4b4c217b2fc4c7f356afd5943f3 /Lib/argparse.py
parent5a605660745d32a9b9f4208666889c702527208c (diff)
downloadcpython-950fab46ad3a1960aa289d2d1de55447b88e25d7.zip
cpython-950fab46ad3a1960aa289d2d1de55447b88e25d7.tar.gz
cpython-950fab46ad3a1960aa289d2d1de55447b88e25d7.tar.bz2
dataclasses: Avoid using private class (#124465)
typing.get_origin() does what we need here, without reaching into typing internals. This shouldn't change any behavior (so I am going to skip news), but it sets a good example for other users introspecting typing objects.
Diffstat (limited to 'Lib/argparse.py')
0 files changed, 0 insertions, 0 deletions