Skip to content

Commit c58504d

Browse files
authored
docs: Fix a few typos (#1445)
There are small typos in: - docs/pages/interfaces.rst - returns/primitives/reawaitable.py Fixes: - Should read `requires` rather than `requiers`. - Should read `reality` rather than `reallity`. Signed-off-by: Tim Gates <tim.gates@iress.com>
1 parent 8932941 commit c58504d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/pages/interfaces.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ do not have type aliases for one type argument in a form of ``ResultLike1``.
575575
Why does ``Mappable1`` exists and ``ResultLike1`` does not?
576576

577577
Because ``Mappable1`` does make sense.
578-
But, ``ResultLike1`` requiers at least two (value and error) types to exist.
578+
But, ``ResultLike1`` requires at least two (value and error) types to exist.
579579
The same applies for ``ReaderLike1`` and ``ReaderResultLike1``
580580
and ``ReaderResultLike2``.
581581

returns/primitives/reawaitable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ReAwaitable(object):
1616
Allows to write coroutines that can be awaited multiple times.
1717
1818
It works by actually caching the ``await`` result and reusing it.
19-
So, in reallity we still ``await`` once,
19+
So, in reality we still ``await`` once,
2020
but pretending to do it multiple times.
2121
2222
Why is that required? Because otherwise,

0 commit comments

Comments
 (0)