From: aathan Date: Tue, 18 Jan 2022 18:29:00 +0000 (+0000) Subject: Probable typo in doc example X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0b503411c484d56b988c4b9daf10c6dcf1340ae;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Probable typo in doc example --- diff --git a/doc/build/orm/extensions/associationproxy.rst b/doc/build/orm/extensions/associationproxy.rst index aef046b049..e837e92292 100644 --- a/doc/build/orm/extensions/associationproxy.rst +++ b/doc/build/orm/extensions/associationproxy.rst @@ -63,7 +63,7 @@ attribute, which can be awkward:: >>> print(user.kw[0].keyword) cheese inspector >>> print([keyword.keyword for keyword in user.kw]) - ['cheese inspector'] + ['cheese', 'inspector'] The ``association_proxy`` is applied to the ``User`` class to produce a "view" of the ``kw`` relationship, which only exposes the string