From f0b503411c484d56b988c4b9daf10c6dcf1340ae Mon Sep 17 00:00:00 2001 From: aathan Date: Tue, 18 Jan 2022 18:29:00 +0000 Subject: [PATCH] Probable typo in doc example --- doc/build/orm/extensions/associationproxy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3