summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/util')
-rw-r--r--lib/sqlalchemy/util/_concurrency_py3k.py4
-rw-r--r--lib/sqlalchemy/util/compat.py2
-rw-r--r--lib/sqlalchemy/util/langhelpers.py4
-rw-r--r--lib/sqlalchemy/util/queue.py2
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 5b7a3eb9f..ad419cba2 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 0cee2f411..935ace7ef 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.