From: serzey Date: Tue, 16 Feb 2021 09:10:03 +0000 (+0100) Subject: Update declarative_mixins.rst X-Git-Tag: rel_1_4_0~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5946%2Fhead;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update declarative_mixins.rst Variables ta and tb should be instances of TypeA and TypeB respectively. --- diff --git a/doc/build/orm/declarative_mixins.rst b/doc/build/orm/declarative_mixins.rst index 560bda1341..a0229fe88b 100644 --- a/doc/build/orm/declarative_mixins.rst +++ b/doc/build/orm/declarative_mixins.rst @@ -352,7 +352,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