From: Federico Caselli Date: Sat, 8 Feb 2020 17:48:06 +0000 (+0100) Subject: fix documentation typos X-Git-Tag: rel_1_4_0b1~509^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5141%2Fhead;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix documentation typos Change-Id: I4376910ae1cf6bf27226f049d4cf2d0e6ba2a83b --- diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index db743f408d..98afe78ac5 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -80,7 +80,7 @@ def subquery(alias, *args, **kwargs): class ReturnsRows(roles.ReturnsRowsRole, ClauseElement): - """The basemost class for Core contructs that have some concept of + """The basemost class for Core constructs that have some concept of columns that can represent rows. While the SELECT statement and TABLE are the primary things we think @@ -2177,7 +2177,7 @@ class SelectBase( "and will be removed in a future release; this method implicitly " "creates a subquery that should be explicit. " "Please call :meth:`.SelectBase.subquery` first in order to create " - "a subquery, which then can be seleted.", + "a subquery, which then can be selected.", ) def join(self, *arg, **kw): return self._implicit_subquery.join(*arg, **kw) @@ -2188,7 +2188,7 @@ class SelectBase( "and will be removed in a future release; this method implicitly " "creates a subquery that should be explicit. " "Please call :meth:`.SelectBase.subquery` first in order to create " - "a subquery, which then can be seleted.", + "a subquery, which then can be selected.", ) def outerjoin(self, *arg, **kw): return self._implicit_subquery.outerjoin(*arg, **kw) diff --git a/lib/sqlalchemy/sql/visitors.py b/lib/sqlalchemy/sql/visitors.py index cd1c7c6966..c946bb4ab2 100644 --- a/lib/sqlalchemy/sql/visitors.py +++ b/lib/sqlalchemy/sql/visitors.py @@ -180,7 +180,7 @@ class InternalTraversal(util.with_metaclass(_InternalTraversalType, object)): ] Above, the :class:`.Case` class indicates its internal state as the - attribtues named ``value``, ``whens``, and ``else\_``. They each + attributes named ``value``, ``whens``, and ``else\_``. They each link to an :class:`.InternalTraversal` method which indicates the type of datastructure referred towards.