Document an entry point a little better.
This commit is contained in:
parent
76db51c237
commit
72fad01d24
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue