summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2023-09-20 03:15:52 (GMT)
committerGitHub <noreply@github.com>2023-09-20 03:15:52 (GMT)
commit1293fcc3c6b67b7e8d0081863ec6387e162341eb (patch)
treede2a66545d74384fd8403c2cf66d375ab3601a76 /Misc
parent81cd1bd713624c3d26b647f3d28f2fd905887a0d (diff)
downloadcpython-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.rst2
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.