clarify find_markers return value

This commit is contained in:
Ronny Pfannschmidt 2018-03-20 15:22:28 +01:00
parent 159ea9b7c0
commit a92a51b01b
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ class Node(object):
"""find all marks with the given name on the node and its parents """find all marks with the given name on the node and its parents
:param str name: name of the marker :param str name: name of the marker
:returns: iterator over marks matching the name
""" """
for node in reversed(self.listchain()): for node in reversed(self.listchain()):
for mark in node._markers.find(name): for mark in node._markers.find(name):