gh-109543: Remove unnecessary hasattr check (#109544)

Also added a new test case covering the scenario I thought this
might be about.
This commit is contained in:
Jelle Zijlstra 2023-09-19 20:15:52 -07:00 committed by GitHub
parent 81cd1bd713
commit 1293fcc3c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,2 @@
Remove unnecessary :func:`hasattr` check during :data:`typing.TypedDict`
creation.