From: Frederic Junod Date: Fri, 20 Jan 2017 08:52:15 +0000 (+0100) Subject: Fix typo in documentation X-Git-Tag: rel_1_0_18~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef6b2c9087bdb90fb172f1ea8938229d76c2034e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix typo in documentation (cherry picked from commit 8795472c875d5f424f96a1e19e93d6dd4a7df6a8) --- diff --git a/lib/sqlalchemy/orm/util.py b/lib/sqlalchemy/orm/util.py index 920ce3abe9..aaa89462ae 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.