From: Ernest Walzel Date: Thu, 26 Mar 2015 18:28:07 +0000 (+0000) Subject: Fix typos X-Git-Tag: rel_0_9_10~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b2ad50340beb55bf891c1b81e41ebefb4779f61;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix typos agaisnt -> against 'a Alias' -> 'an Alias' (cherry picked from commit a518b31f3b131ae8304026109cd826e38c2afc26) --- diff --git a/doc/build/orm/extensions/declarative/mixins.rst b/doc/build/orm/extensions/declarative/mixins.rst index 7ad8dcdc90..0ad274cd4b 100644 --- a/doc/build/orm/extensions/declarative/mixins.rst +++ b/doc/build/orm/extensions/declarative/mixins.rst @@ -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 diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 73cf2fca2d..254ccbf583 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -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)