diff options
author | larryhastings <larry@hastings.org> | 2022-10-03 15:46:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 15:46:09 -0700 |
commit | 00b5a08c807ebebf4180c06aac0c9b5c7d6c547f (patch) | |
tree | 46dad42c60120b6c2a234cd6383a23dddf7a0222 /Tools/scripts/find_recursionlimit.py | |
parent | d78aa4e11a80653588229cc97119afae693d1c06 (diff) | |
download | cpython-git-00b5a08c807ebebf4180c06aac0c9b5c7d6c547f.tar.gz |
gh-97799: use inspect.get_annotations in dataclass (#97800)
dataclass used to get the annotations on a class object using
cls.__dict__.get('__annotations__'). Now that it always imports
inspect, it can use inspect.get_annotations, which is modern
best practice for coping with annotations.
Diffstat (limited to 'Tools/scripts/find_recursionlimit.py')
0 files changed, 0 insertions, 0 deletions