]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jan 2017 22:37:12 +0000 (17:37 -0500)
(cherry picked from commit 8795472c875d5f424f96a1e19e93d6dd4a7df6a8)

lib/sqlalchemy/orm/util.py

index 920ce3abe9d11514ca7725f7616cee8f4523e538..aaa89462aece465807e6af56d687fcccaf11d0b2 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.