mirror of https://github.com/python/cpython
dacc5ac71a
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> |
||
---|---|---|
.. | ||
__init__.py | ||
inspect_fodder.py | ||
inspect_fodder2.py | ||
inspect_stock_annotations.py | ||
inspect_stringized_annotations.py | ||
inspect_stringized_annotations_2.py | ||
inspect_stringized_annotations_pep695.py | ||
test_inspect.py |