Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #1932

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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