diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-03-31 18:37:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 18:37:24 +0100 |
commit | 9048d73f7a5c58be21988250c381f866586687a0 (patch) | |
tree | 34eab4eb226656a666ae7dafbd06ae8c5250da67 /Python/Python-tokenize.c | |
parent | 80163e17d3f826067c5d95198db7696287beb416 (diff) | |
download | cpython-git-9048d73f7a5c58be21988250c381f866586687a0.tar.gz |
gh-74690: typing: Don't unnecessarily call `_get_protocol_attrs` twice in `_ProtocolMeta.__instancecheck__` (#103141)
Speed up `isinstance()` calls against runtime-checkable protocols
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions