mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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:
parent
81cd1bd713
commit
1293fcc3c6
3 changed files with 14 additions and 2 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Remove unnecessary :func:`hasattr` check during :data:`typing.TypedDict`
|
||||
creation.
|
||||
Loading…
Add table
Add a link
Reference in a new issue