]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
typo #2
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Sep 2010 00:08:47 +0000 (20:08 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Sep 2010 00:08:47 +0000 (20:08 -0400)
doc/build/orm/collections.rst

index 4ef6b072452a678057acd30e7a57eef977221aec..7f585fc507b24ace66c732699b846c72ace05e38 100644 (file)
@@ -352,8 +352,8 @@ rare cases::
         
         @collection.internally_instrumented
         def __delitem__(self, key, _sa_initiator=None):
-            # do something with key, value
-            super(MyMappedCollection, self).__delitem__(key, value, _sa_initiator)
+            # do something with key
+            super(MyMappedCollection, self).__delitem__(key, _sa_initiator)
 
 The ORM understands the ``dict`` interface just like lists and sets, and will
 automatically instrument all dict-like methods if you choose to subclass