summaryrefslogtreecommitdiffstats
path: root/Python/pytime.c
diff options
context:
space:
mode:
authorJan Kaliszewski <zuo@kaliszewski.net>2024-06-18 12:19:43 (GMT)
committerGitHub <noreply@github.com>2024-06-18 12:19:43 (GMT)
commitdacc5ac71a8e546f9ef76805827cb50d4d40cabf (patch)
treebcd0f024d0266970d7edbbbb55a5ead46044b966 /Python/pytime.c
parent7c5da94b5d674e112dc77f6494463014b7137193 (diff)
downloadcpython-dacc5ac71a8e546f9ef76805827cb50d4d40cabf.zip
cpython-dacc5ac71a8e546f9ef76805827cb50d4d40cabf.tar.gz
cpython-dacc5ac71a8e546f9ef76805827cb50d4d40cabf.tar.bz2
gh-120381: Fix inspect.ismethoddescriptor() (#120383)
The `inspect.ismethoddescriptor()` function did not check for the lack of `__delete__()` and, consequently, erroneously returned True when applied to *data* descriptors with only `__get__()` and `__delete__()` defined. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions