Skip to content

Commit

Permalink
dep: improve docstrings for Cpv and Dep intersects()
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Jul 5, 2024
1 parent 5a1e798 commit aa3f29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pkgcraft/dep/cpv.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ cdef class Cpv:
return C.pkgcraft_cpv_restrict_matches(self.ptr, r.ptr)

def intersects(self, other):
"""Determine intersection between two Cpv or Dep objects.
"""Determine if a Cpv intersects with another object.
Args:
other: object to check for intersection against
Expand Down
2 changes: 1 addition & 1 deletion src/pkgcraft/dep/pkg.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ cdef class Dep:
return C.pkgcraft_dep_restrict_matches(self.ptr, r.ptr)

def intersects(self, other):
"""Determine intersection between two Cpv or Dep objects.
"""Determine if a Dep intersects with another object.
Args:
other: object to check for intersection against
Expand Down

0 comments on commit aa3f29e

Please sign in to comment.