Skip to content

Commit d6ab047

Browse files
committed
Update ops.py
1 parent a422333 commit d6ab047

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/curies/triples/ops.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,6 @@ def exclude_prefix_stratified_many_to_many(
5454
.. warning::
5555
5656
This operation fully consumes the iterator since it requires two passes
57-
58-
59-
>>> from curies import Triple
60-
>>> from curies.vocabulary import exact_match, subclass_of
61-
>>> c1, c2, c3 = "DOID:0050577", "mesh:C562966", "DOID:225"
62-
>>> m1 = Triple.from_curies(c1, exact_match.curie, c2)
63-
>>> m2 = Triple.from_curies(c2, exact_match.curie, c3)
64-
>>> m3 = Triple.from_curies(c1, subclass_of.curie, c3)
65-
>>> assert list(exclude_triples([m1, m2, m3], m3)) == [m1, m2]
6657
"""
6758
triples = list(triples)
6859
exclusion = get_prefix_stratified_many_to_many(triples)

0 commit comments

Comments
 (0)