Skip to content

Commit aa3f29e

Browse files
committed
dep: improve docstrings for Cpv and Dep intersects()
1 parent 5a1e798 commit aa3f29e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pkgcraft/dep/cpv.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ cdef class Cpv:
286286
return C.pkgcraft_cpv_restrict_matches(self.ptr, r.ptr)
287287

288288
def intersects(self, other):
289-
"""Determine intersection between two Cpv or Dep objects.
289+
"""Determine if a Cpv intersects with another object.
290290
291291
Args:
292292
other: object to check for intersection against

src/pkgcraft/dep/pkg.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ cdef class Dep:
638638
return C.pkgcraft_dep_restrict_matches(self.ptr, r.ptr)
639639

640640
def intersects(self, other):
641-
"""Determine intersection between two Cpv or Dep objects.
641+
"""Determine if a Dep intersects with another object.
642642
643643
Args:
644644
other: object to check for intersection against

0 commit comments

Comments
 (0)