diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-09-20 03:15:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 03:15:52 (GMT) |
commit | 1293fcc3c6b67b7e8d0081863ec6387e162341eb (patch) | |
tree | de2a66545d74384fd8403c2cf66d375ab3601a76 /Misc | |
parent | 81cd1bd713624c3d26b647f3d28f2fd905887a0d (diff) | |
download | cpython-1293fcc3c6b67b7e8d0081863ec6387e162341eb.zip cpython-1293fcc3c6b67b7e8d0081863ec6387e162341eb.tar.gz cpython-1293fcc3c6b67b7e8d0081863ec6387e162341eb.tar.bz2 |
gh-109543: Remove unnecessary hasattr check (#109544)
Also added a new test case covering the scenario I thought this
might be about.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-09-18-07-43-22.gh-issue-109543.1tOGoV.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-09-18-07-43-22.gh-issue-109543.1tOGoV.rst b/Misc/NEWS.d/next/Library/2023-09-18-07-43-22.gh-issue-109543.1tOGoV.rst new file mode 100644 index 0000000..e790f77 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-09-18-07-43-22.gh-issue-109543.1tOGoV.rst @@ -0,0 +1,2 @@ +Remove unnecessary :func:`hasattr` check during :data:`typing.TypedDict` +creation. |