def walk(self, maxresults=<NUM_LIT:100>, maxdepth=None):
self.stops = <NUM_LIT:0><EOL>self.seen = {}<EOL>self.ignore(self, self.__dict__, self.seen, self._ignore)<EOL>self.ignore_caller()<EOL>self.maxdepth = maxdepth<EOL>count = <NUM_LIT:0><EOL>for result in self._gen(self.obj):<EOL><INDENT>yield result<EOL>count += <NUM_LIT:1><EOL>if maxresults and count >= maxresults:<EOL><INDENT>yield <NUM_LIT:0>, <NUM_LIT:0>, "<STR_LIT>"<EOL>return<EOL><DEDENT><DEDENT>
Walk the object tree, showing circular referents.