]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111874: Call `__set_name__` on objects that define the method inside a `typing...
authorAlex Waygood <Alex.Waygood@Gmail.com>
Mon, 27 Nov 2023 16:34:44 +0000 (16:34 +0000)
committerGitHub <noreply@github.com>
Mon, 27 Nov 2023 16:34:44 +0000 (16:34 +0000)
commit22e411e1d107f79a0904d41a489a82355a39b5de
tree183ddc1e27c300872f9b58dcc1a691a0c3f9195e
parentffe1b2d07b88e185f373ad696fbea5a7f2a315c1
gh-111874: Call `__set_name__` on objects that define the method inside a `typing.NamedTuple` class dictionary as part of the creation of that class (#111876)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2023-11-09-11-07-34.gh-issue-111874.dzYc3j.rst [new file with mode: 0644]