Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Sep 23, 2024
1 parent 0fd48cc commit 78de9b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/pages/future.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ So, you have to turn you function into async one.
And all callers of this function in async functions. And all their callers.

This is really hard to model.
When you code has two types of uncomposable
When your code has two types of uncomposable
functions you increase your mental complexity by extreme levels.

Instead, you can use ``Future`` container,
Expand All @@ -54,7 +54,7 @@ it allows you to model async interactions in a sync manner:
... return Future(first()).bind_awaitable(second)
Now we can compose async functions and maintaining a sync context!
It is also possible run a ``Future``
It is also possible to run a ``Future``
with regular tools like ``asyncio.run`` or ``anyio.run``:

.. code:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/pipeline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ It might be later used with multiple values:
>>> assert pipeline(2) == '2B'
It is also might be useful to compose containers together:
It also might be useful to compose containers together:

.. code:: python
Expand Down

0 comments on commit 78de9b6

Please sign in to comment.