Document an entry point a little better.

This commit is contained in:
Eric S. Raymond 2008-11-04 02:31:36 +00:00
parent 76db51c237
commit 72fad01d24

View file

@ -307,7 +307,7 @@ Important Attributes:
return '"%s", line %d:' % (self.fname, self.lineno+1)
def ancestors(self):
"""Return a list of tags enclosing this location."""
"""Return a list of tags enclosing this location, outermost first."""
return tuple(map(lambda x: x.element, self.scopes))
def hasNext(self):