From: Mike Bayer Date: Tue, 17 Mar 2020 02:06:15 +0000 (-0400) Subject: Fix "special_key" attribute name in association proxy documentation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c47bfd386111c4be55b79b9d65dac040735ac6ff;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix "special_key" attribute name in association proxy documentation Fixes: #5204 Change-Id: I1366be823d753bdcd92c98b948bdfa7960a27eb7 (cherry picked from commit 1768dd2a08dee92d73d160a5ba437df4ced37d2c) --- diff --git a/doc/build/orm/extensions/associationproxy.rst b/doc/build/orm/extensions/associationproxy.rst index b2b5a4cb45..ab59d1bbdf 100644 --- a/doc/build/orm/extensions/associationproxy.rst +++ b/doc/build/orm/extensions/associationproxy.rst @@ -328,7 +328,7 @@ when new elements are added to the dictionary:: return 'Keyword(%s)' % repr(self.keyword) We illustrate the ``.keywords`` collection as a dictionary, mapping the -``UserKeyword.string_key`` value to ``Keyword`` objects:: +``UserKeyword.special_key`` value to ``Keyword`` objects:: >>> user = User('log')