mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__
This commit is contained in:
parent
6c6596ec52
commit
056e265491
3 changed files with 10 additions and 2 deletions
|
@ -1764,6 +1764,11 @@ class TestSignatureObject(unittest.TestCase):
|
|||
__call__ = type
|
||||
test_callable(ThisWorksNow())
|
||||
|
||||
# Regression test for issue #20786
|
||||
test_unbound_method(dict.__delitem__)
|
||||
test_unbound_method(property.__delete__)
|
||||
|
||||
|
||||
@cpython_only
|
||||
@unittest.skipIf(MISSING_C_DOCSTRINGS,
|
||||
"Signature information for builtins requires docstrings")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue