]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109543: Remove unnecessary hasattr check (#109544)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 20 Sep 2023 03:15:52 +0000 (20:15 -0700)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 03:15:52 +0000 (20:15 -0700)
commit1293fcc3c6b67b7e8d0081863ec6387e162341eb
treede2a66545d74384fd8403c2cf66d375ab3601a76
parent81cd1bd713624c3d26b647f3d28f2fd905887a0d
gh-109543: Remove unnecessary hasattr check (#109544)

Also added a new test case covering the scenario I thought this
might be about.
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2023-09-18-07-43-22.gh-issue-109543.1tOGoV.rst [new file with mode: 0644]