From: Mike Bayer Date: Fri, 10 Sep 2010 00:07:05 +0000 (-0400) Subject: typo X-Git-Tag: rel_0_6_5~75^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e6e7546bdcce4b9f89724c46a454b84e74a4014;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git typo --- diff --git a/doc/build/orm/collections.rst b/doc/build/orm/collections.rst index 131adb70be..4ef6b07245 100644 --- a/doc/build/orm/collections.rst +++ b/doc/build/orm/collections.rst @@ -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