diff options
author | Lele Gaifax <lele@metapensiero.it> | 2021-01-24 13:59:03 -0500 |
---|---|---|
committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2021-01-24 13:59:03 -0500 |
commit | f04147d9490df68b1fe1bb53991062d82017f865 (patch) | |
tree | eebea42a0791544c9a10f1d7055a17497cf4108e /lib/sqlalchemy/sql/selectable.py | |
parent | 2df6eb140b4feb86d7cc99c0c976d1b22eb6e25b (diff) | |
download | sqlalchemy-f04147d9490df68b1fe1bb53991062d82017f865.tar.gz |
Fix many spell glitches in docstrings and comments
These were revealed by running `pylint --disable all --enable spelling --spelling-dict en_US` over all sources.
Closes: #5868
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5868
Pull-request-sha: bb249195d92e3b806e81ecf1192d5a1b3cd5db48
Change-Id: I96080ec93a9fbd20ce21e9e16265b3c77f22bb14
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 |