From: Frederic Junod Date: Fri, 20 Jan 2017 08:52:15 +0000 (+0100) Subject: Fix typo in documentation X-Git-Tag: rel_1_1_6~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8795472c875d5f424f96a1e19e93d6dd4a7df6a8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix typo in documentation --- diff --git a/lib/sqlalchemy/orm/util.py b/lib/sqlalchemy/orm/util.py index b4d5b8a9e7..019f32b26f 100644 --- a/lib/sqlalchemy/orm/util.py +++ b/lib/sqlalchemy/orm/util.py @@ -636,7 +636,7 @@ def aliased(element, alias=None, name=None, flat=False, adapt_on_names=False): Above, functions on ``aggregated_unit_price`` which refer to ``.price`` will return the - ``fund.sum(UnitPrice.price).label('price')`` column, as it is + ``func.sum(UnitPrice.price).label('price')`` column, as it is matched on the name "price". Ordinarily, the "price" function wouldn't have any "column correspondence" to the actual ``UnitPrice.price`` column as it is not a proxy of the original.