]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix typo in documentation
authorFrederic Junod <frederic.junod@camptocamp.com>
Fri, 20 Jan 2017 08:52:15 +0000 (09:52 +0100)
committerFrederic Junod <frederic.junod@camptocamp.com>
Fri, 20 Jan 2017 08:52:15 +0000 (09:52 +0100)
lib/sqlalchemy/orm/util.py

index b4d5b8a9e76eab01ba994bb27b0498c110e79459..019f32b26fbb9d2937447841166de441e7f98271 100644 (file)
@@ -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.