Commits

Michał Górny committed c891e72

Fix docs.

Comments (0)

Files changed (3)

gentoopm/basepm/filter.py

 	"""
 	Transform a number of keyword filters into positional args.
 
-	@param kwargs: keyword arguments, as passed to L{PMPackageSet.filter()}
+	@param kwargs: keyword arguments, as passed
+		to L{basepm.pkgset.PMPackageSet.filter()}
 	@type kwargs: dict
 	@return: positional arguments representing the keyword filters
 	@rtype: iter(L{AttributeMatch})

gentoopm/basepm/pkg.py

 
 		@param args: list of package matchers
 		@type args: list(L{PMPackageMatcher},L{PMAtom})
-		@param kwargs: dict of keyword matchers
-		@type kwargs: dict(string -> L{PMKeywordMatcher})
 		@return: True if package matches
 		@rtype: bool
 		@raise KeyError: when invalid metadata key is referenced in kwargs

gentoopm/matchers.py

 		"""
 		Instantiate the regexp matcher.
 
-		@param re: a regular expression to match values against
-		@type re: string/compiled regexp
+		@param regexp: a regular expression to match values against
+		@type regexp: string/compiled regexp
 		"""
 		if not hasattr(regexp, 'match'):
 			regexp = re.compile(regexp)