def __init__(self, distpath, **kwargs):
super(DistPathLocator, self).__init__(**kwargs)<EOL>assert isinstance(distpath, DistributionPath)<EOL>self.distpath = distpath<EOL>
Initialise an instance.

:param distpath: A :class:`DistributionPath` instance to search.