Add some docs for the DepcheckCompositeDB class. (trunk r9785)
authorZac Medico <zmedico@gentoo.org>
Thu, 10 Apr 2008 07:45:08 +0000 (07:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 10 Apr 2008 07:45:08 +0000 (07:45 -0000)
svn path=/main/branches/2.1.2/; revision=9796

bin/emerge

index 4134511bd3a8959116cd72f74fb4ab03cd40a6d2..21af48674e960d823b9306437845a7c4051cd147 100755 (executable)
@@ -1578,6 +1578,13 @@ def show_invalid_depstring_notice(parent_node, depstring, error_msg):
        f.end_paragraph(1)
 
 class DepcheckCompositeDB(object):
+       """
+       A dbapi-like interface that is optimized for use in dep_check() calls.
+       This is built on top of the existing depgraph package selection logic.
+       Some packages that have been added to the graph may be masked from this
+       view in order to control the atom preference selection that occurs via
+       dep_check().
+       """
        def __init__(self, depgraph, root):
                self._depgraph = depgraph
                self._root = root