mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-27 02:52:53 -04:00
MutableDict.__delitem__ should require only 'key' argument
This commit is contained in:
@@ -611,9 +611,9 @@ class MutableDict(Mutable, dict):
|
||||
dict.__setitem__(self, key, value)
|
||||
self.changed()
|
||||
|
||||
def __delitem__(self, key, value):
|
||||
def __delitem__(self, key):
|
||||
"""Detect dictionary del events and emit change events."""
|
||||
dict.__delitem__(self, key, value)
|
||||
dict.__delitem__(self, key)
|
||||
self.changed()
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user