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/engine | |
| 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/engine')
| -rw-r--r-- | lib/sqlalchemy/engine/interfaces.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/engine/result.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/engine/interfaces.py b/lib/sqlalchemy/engine/interfaces.py index b5e23a4c2..4eb8a1d8d 100644 --- a/lib/sqlalchemy/engine/interfaces.py +++ b/lib/sqlalchemy/engine/interfaces.py @@ -1156,7 +1156,7 @@ class CreateEnginePlugin(object): The :class:`_engine.URL` object is now immutable, so a :class:`_engine.CreateEnginePlugin` that needs to alter the - :class:`_engine.URL` object should impliement the + :class:`_engine.URL` object should implement the :meth:`_engine.CreateEnginePlugin.update_url` method. :param kwargs: The keyword arguments passed to diff --git a/lib/sqlalchemy/engine/result.py b/lib/sqlalchemy/engine/result.py index cc3877e05..10dfaa904 100644 --- a/lib/sqlalchemy/engine/result.py +++ b/lib/sqlalchemy/engine/result.py @@ -1096,7 +1096,7 @@ class Result(_WithKeys, ResultInternal): # type: () -> Any """Return exactly one scalar result or raise an exception. - This is equvalent to calling :meth:`.Result.scalars` and then + This is equivalent to calling :meth:`.Result.scalars` and then :meth:`.Result.one`. .. seealso:: @@ -1112,7 +1112,7 @@ class Result(_WithKeys, ResultInternal): # type: () -> Optional[Any] """Return exactly one or no scalar result. - This is equvalent to calling :meth:`.Result.scalars` and then + This is equivalent to calling :meth:`.Result.scalars` and then :meth:`.Result.one_or_none`. .. seealso:: @@ -1528,7 +1528,7 @@ class FrozenResult(object): :meth:`_engine.Result.freeze` method of any :class:`_engine.Result` object. - A new iterable :class:`.Result` object is generatged from a fixed + A new iterable :class:`.Result` object is generated from a fixed set of data each time the :class:`.FrozenResult` is invoked as a callable:: @@ -1709,7 +1709,7 @@ class MergedResult(IteratorResult): self._unique_filter_state = results[0]._unique_filter_state self._yield_per = results[0]._yield_per - # going to try someting w/ this in next rev + # going to try something w/ this in next rev self._source_supports_scalars = results[0]._source_supports_scalars self._attributes = self._attributes.merge_with( |
