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

index 131adb70bef6beb816bffdb4dee130d221095fd1..4ef6b072452a678057acd30e7a57eef977221aec 100644 (file)
@@ -348,12 +348,12 @@ rare cases::
         @collection.internally_instrumented
         def __setitem__(self, key, value, _sa_initiator=None):
             # do something with key, value
-            super(MappedCollection, self).__setitem__(key, value, _sa_initiator)
+            super(MyMappedCollection, self).__setitem__(key, value, _sa_initiator)
         
         @collection.internally_instrumented
         def __delitem__(self, key, _sa_initiator=None):
             # do something with key, value
-            super(MappedCollection, self).__delitem__(key, value, _sa_initiator)
+            super(MyMappedCollection, self).__delitem__(key, value, _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