From: serzey Date: Tue, 16 Feb 2021 09:10:03 +0000 (+0100) Subject: Update declarative_mixins.rst X-Git-Tag: rel_1_3_24~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8961c09c0364d018451d27ff7d5b9f65f1116bcc;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update declarative_mixins.rst Variables ta and tb should be instances of TypeA and TypeB respectively. (cherry picked from commit f41b9cbcdb0b6116cc3e2d15f53983516d82b06d) Change-Id: I084ec293b948a4b594f210e758ca0a05483ca8da --- diff --git a/doc/build/orm/extensions/declarative/mixins.rst b/doc/build/orm/extensions/declarative/mixins.rst index 509b1d34c6..b308f118d0 100644 --- a/doc/build/orm/extensions/declarative/mixins.rst +++ b/doc/build/orm/extensions/declarative/mixins.rst @@ -348,7 +348,7 @@ attribute of each ``StringAttribute`` instance. argument ``strings``, a list of strings:: ta = TypeA(strings=['foo', 'bar']) - tb = TypeA(strings=['bat', 'bar']) + tb = TypeB(strings=['bat', 'bar']) This list will generate a collection of ``StringAttribute`` objects, which are persisted into a table that's