def walk(self, maxresults=100, maxdepth=None):
        self.stops = 0
        self.seen = {}
        self.ignore(self, self.__dict__, self.seen, self._ignore)

        # Ignore the calling frame, its builtins, globals and locals
        self.ignore_caller()

        self.maxdepth = maxdepth
        count = 0
        for result in self._gen(self.obj):
            yield result
            count += 1
            if maxresults and count >= maxresults:
                yield 0, 0, "==== Max results reached ===="
                raise StopIteration
Construct a new frequency distribution.  If ``samples`` is
dataset/ETHPy150Open munhitsu/django-dowser/django_dowser/reftree.py/CircularReferents.walk--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/probability.py/FreqDist.__init__