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/util | |
| 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/util')
| -rw-r--r-- | lib/sqlalchemy/util/_concurrency_py3k.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/util/compat.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/util/langhelpers.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/util/queue.py | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/sqlalchemy/util/_concurrency_py3k.py b/lib/sqlalchemy/util/_concurrency_py3k.py index 8edd057ef..94f4705d8 100644 --- a/lib/sqlalchemy/util/_concurrency_py3k.py +++ b/lib/sqlalchemy/util/_concurrency_py3k.py @@ -35,7 +35,7 @@ class _AsyncIoGreenlet(greenlet.greenlet): def await_only(awaitable: Coroutine) -> Any: """Awaits an async function in a sync method. - The sync method must be insice a :func:`greenlet_spawn` context. + The sync method must be inside a :func:`greenlet_spawn` context. :func:`await_` calls cannot be nested. :param awaitable: The coroutine to call. @@ -59,7 +59,7 @@ def await_only(awaitable: Coroutine) -> Any: def await_fallback(awaitable: Coroutine) -> Any: """Awaits an async function in a sync method. - The sync method must be insice a :func:`greenlet_spawn` context. + The sync method must be inside a :func:`greenlet_spawn` context. :func:`await_` calls cannot be nested. :param awaitable: The coroutine to call. diff --git a/lib/sqlalchemy/util/compat.py b/lib/sqlalchemy/util/compat.py index 1eed2c3af..0cbfa1366 100644 --- a/lib/sqlalchemy/util/compat.py +++ b/lib/sqlalchemy/util/compat.py @@ -362,7 +362,7 @@ if py3k: Instead of introducing all the object-creation overhead and having to reinvent from scratch, just copy their compatibility routine. - Utimately we would need to rewrite our "decorator" routine completely + Ultimately we would need to rewrite our "decorator" routine completely which is not really worth it right now, until all Python 2.x support is dropped. diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py index f6d44f708..457d2875d 100644 --- a/lib/sqlalchemy/util/langhelpers.py +++ b/lib/sqlalchemy/util/langhelpers.py @@ -533,7 +533,7 @@ def format_argspec_plus(fn, grouped=True): ) elif spec[1]: - # im not sure what this is + # I'm not sure what this is self_arg = "%s[0]" % spec[1] apply_pos_proxied = apply_pos @@ -1844,7 +1844,7 @@ def inject_param_text(doctext, inject_params): indent = " " * len(m.group(1)) + " " # but if the next line has text, use that line's - # indentntation + # indentation if doclines: m2 = re.match(r"(\s+)\S", doclines[0]) if m2: diff --git a/lib/sqlalchemy/util/queue.py b/lib/sqlalchemy/util/queue.py index 30e388248..b1ff8f64e 100644 --- a/lib/sqlalchemy/util/queue.py +++ b/lib/sqlalchemy/util/queue.py @@ -224,7 +224,7 @@ class AsyncAdaptedQueue: # Delay creation of the queue until it is first used, to avoid # binding it to a possibly wrong event loop. # By delaying the creation of the pool we accommodate the common - # usage pattern of instanciating the engine at module level, where a + # usage pattern of instantiating the engine at module level, where a # different event loop is in present compared to when the application # is actually run. |
