Skip to content

Commit

Permalink
Remove unnecessary documentaion on predicates.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekitdev committed Feb 25, 2024
1 parent 939ac13 commit 9597003
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions iters/iters.py
Original file line number Diff line number Diff line change
Expand Up @@ -3141,8 +3141,6 @@ def partition(self, predicate: OptionalPredicate[T]) -> Pair[Iter[T]]:
"""Partitions the iterator into two iterators *safely* based on the given `predicate`,
loading **all** items into memory!
See [predicates](/predicates) for more information on the `predicate` argument.
Example:
Suppose we have the following function:
Expand Down Expand Up @@ -3178,9 +3176,6 @@ def is_positive(z: int) -> bool:

def partition_unsafe(self, predicate: OptionalPredicate[T]) -> Pair[Iter[T]]:
"""Partitions the iterator into two iterators *unsafely* based on the given `predicate`.
See [predicates](/predicates) for more information on the `predicate` argument.
Example:
Suppose we have the following function:
Expand Down

0 comments on commit 9597003

Please sign in to comment.