From f136cc893a2cd765c019654157af42aeb5135a1d Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sat, 8 Feb 2020 18:48:06 +0100 Subject: [PATCH] fix documentation typos Change-Id: I4376910ae1cf6bf27226f049d4cf2d0e6ba2a83b --- lib/sqlalchemy/sql/selectable.py | 6 +++--- lib/sqlalchemy/sql/visitors.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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. -- 2.47.2