Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 15, 2024
1 parent 0b64a3f commit edf92e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/pages/methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ partition
~~~~~~~~~

:func:`partition <returns.result.partition>` is used to convert
list of Unwrappable instances like Result, IOResult, Maybe
list of :class:`~returns.interfaces.Unwrappable`
instances like :class:`~returns.result.Result`,
:class:`~returns.io.IOResult`, and :class:`~returns.maybe.Maybe`
to a tuple of two lists: successes and failures.

.. code:: python
Expand Down
2 changes: 1 addition & 1 deletion typesafety/test_methods/test_partition.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- case: partition_no_params
- case: partition_result
disable_cache: false
main: |
from typing import List
Expand Down

0 comments on commit edf92e1

Please sign in to comment.