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/dialects/sqlite/base.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/dialects/sqlite/base.py')
| -rw-r--r-- | lib/sqlalchemy/dialects/sqlite/base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/sqlite/base.py b/lib/sqlalchemy/dialects/sqlite/base.py index a4c25e764..ded1ce2a8 100644 --- a/lib/sqlalchemy/dialects/sqlite/base.py +++ b/lib/sqlalchemy/dialects/sqlite/base.py @@ -2132,7 +2132,7 @@ class SQLiteDialect(default.DefaultDialect): return colspec def _resolve_type_affinity(self, type_): - """Return a data type from a reflected column, using affinity tules. + """Return a data type from a reflected column, using affinity rules. SQLite's goal for universal compatibility introduces some complexity during reflection, as a column's defined type might not actually be a @@ -2143,7 +2143,7 @@ class SQLiteDialect(default.DefaultDialect): listed in http://www.sqlite.org/datatype3.html section 2.1. This method allows SQLAlchemy to support that algorithm, while still - providing access to smarter reflection utilities by regcognizing + providing access to smarter reflection utilities by recognizing column definitions that SQLite only supports through affinity (like DATE and DOUBLE). @@ -2224,7 +2224,7 @@ class SQLiteDialect(default.DefaultDialect): referred_pk = self.get_pk_constraint( connection, rtbl, schema=schema, **kw ) - # note that if table doesnt exist, we still get back a record, + # note that if table doesn't exist, we still get back a record, # just it has no columns in it referred_columns = referred_pk["constrained_columns"] else: |
