l.s.s.PageMatches : class documentation

Part of lp.services.sitesearch View In Hierarchy

See ISearchResults.

A collection of PageMatches.

Method __init__ initialize a PageMatches.
Method __len__ See ISearchResults.
Method __getitem__ See ISearchResults.
Method __iter__ See ISearchResults.
def __init__(self, matches, start, total):
initialize a PageMatches.
ParametersmatchesA list of PageMatch objects.
startThe index of the first item in the collection relative to the total number of items.
totalThe total number of items that matched a search.
def __len__(self):
See ISearchResults.
def __getitem__(self, index):
See ISearchResults.
def __iter__(self):
See ISearchResults.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.