]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93021: Fix __text_signature__ for __get__ (GH-93023)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 21 Jun 2022 19:45:38 +0000 (12:45 -0700)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2022 19:45:38 +0000 (21:45 +0200)
commit4e08fbcfdfa57ea94091aabdd09413708e3fb2bf
treec0f7fcee354ead27cbdbc69c19954555585e013c
parentdd5cf84f245abf84405833320b8f25dbc43b24d2
gh-93021: Fix __text_signature__ for __get__ (GH-93023)

Because of the way wrap_descr_get is written, the second argument
to __get__ methods implemented through the wrapper is always
optional.
Lib/test/test_types.py
Misc/NEWS.d/next/Core and Builtins/2022-05-20-09-25-34.gh-issue-93021.k3Aji2.rst [new file with mode: 0644]
Objects/typeobject.c