]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix typos
authorErnest Walzel <ernest.walzel@ed.ac.uk>
Thu, 26 Mar 2015 18:28:07 +0000 (18:28 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Mar 2015 21:35:17 +0000 (17:35 -0400)
agaisnt -> against
'a Alias' -> 'an Alias'

(cherry picked from commit a518b31f3b131ae8304026109cd826e38c2afc26)

doc/build/orm/extensions/declarative/mixins.rst
lib/sqlalchemy/sql/selectable.py

index 7ad8dcdc90a1336daebca63402c60badd4c95b33..0ad274cd4b231c0d61f4c7d471faebbf5de89d4e 100644 (file)
@@ -392,7 +392,7 @@ name based on class name::
 Alternatively, we can modify our ``__tablename__`` function to return
 ``None`` for subclasses, using :func:`.has_inherited_table`.  This has
 the effect of those subclasses being mapped with single table inheritance
-agaisnt the parent::
+against the parent::
 
     from sqlalchemy.ext.declarative import declared_attr
     from sqlalchemy.ext.declarative import has_inherited_table
index 73cf2fca2d42074865b137351059010d60517d82..254ccbf583bd4e589607b451254cc6a92e84efc3 100644 (file)
@@ -815,7 +815,7 @@ class Join(FromClause):
         """return an alias of this :class:`.Join`.
 
         The default behavior here is to first produce a SELECT
-        construct from this :class:`.Join`, then to produce a
+        construct from this :class:`.Join`, then to produce an
         :class:`.Alias` from that.  So given a join of the form::
 
             j = table_a.join(table_b, table_a.c.id == table_b.c.a_id)