Add note about 'use' in the Atom.intersects() docstring. (trunk r13375)
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:21:28 +0000 (07:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:21:28 +0000 (07:21 -0000)
svn path=/main/branches/2.1.6/; revision=13528

pym/portage/dep.py

index 80ebdadbcdae463140b882e11d8296672dabd506..679a8558df62005e3edeeda29354dcf0cb3ad2d4 100644 (file)
@@ -560,8 +560,9 @@ class Atom(object):
 
        def intersects(self, other):
                """
-               Atoms with different operator or cpv attributes cause this method to
-               return False. TODO: Detect intersection when operators are present.
+               Atoms with different cpv, operator or use attributes cause this method
+               to return False even though there may actually be some intersection.
+               TODO: Detect more forms of intersection.
                @param other: The package atom to match
                @type other: Atom
                @rtype: Boolean