diff options
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
-rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 8e478583f..7deb7fd82 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -88,7 +88,7 @@ def subquery(alias, *args, **kwargs): class ReturnsRows(roles.ReturnsRowsRole, ClauseElement): - """The basemost class for Core constructs that have some concept of + """The base-most 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 @@ -825,7 +825,7 @@ class FromClause(roles.AnonymizedFromClauseRole, Selectable): this is used to "ping" a derived selectable to add a new column to its .c. collection when a Column has been added to one of the - Table objects it ultimtely derives from. + Table objects it ultimately derives from. If the given selectable hasn't populated its .c. collection yet, it should at least pass on the message to the contained selectables, @@ -4414,7 +4414,7 @@ class Select( .. versionadded:: 1.4 - The :func:`_sql.select` function now accepts column arguments positionally. The top-level :func:`_sql.select` function will automatically use the 1.x or 2.x style API based on - the incoming argumnents; using :func:`_future.select` from the + the incoming arguments; using :func:`_future.select` from the ``sqlalchemy.future`` module will enforce that only the 2.x style constructor is used. @@ -4587,7 +4587,7 @@ class Select( stmt = select(user_table).join(address_table, user_table.c.id == address_table.c.user_id) - The above statement generages SQL similar to:: + The above statement generates SQL similar to:: SELECT user.id, user.name FROM user JOIN address ON user.id = address.user_id @@ -4672,7 +4672,7 @@ class Select( user_table, address_table, user_table.c.id == address_table.c.user_id ) - The above statement generages SQL similar to:: + The above statement generates SQL similar to:: SELECT user.id, user.name, address.id, address.email, address.user_id FROM user JOIN address ON user.id = address.user_id @@ -4966,7 +4966,7 @@ class Select( .. versionchanged:: 1.4 the :meth:`_sql.Select.with_only_columns` method accepts the list of column expressions positionally; - passing the expressions as a list is deprecateed. + passing the expressions as a list is deprecated. """ @@ -5271,7 +5271,7 @@ class Select( # when use_labels is on: # in all cases == if we see the same label name, use _label_anon_label - # for subsequent occurences of that label + # for subsequent occurrences of that label # # anon_for_dupe_key == if we see the same column object multiple # times under a particular name, whether it's the _label name or the |