Commit 29140b0a authored by Bram Schoenmakers's avatar Bram Schoenmakers

Add docstring.

parent ae44cde3
......@@ -234,6 +234,7 @@ class TodoList(object):
order).
"""
def clean_by_tag(tag_name):
""" Generic function to handle 'p' and 'id' tags. """
for todo in [todo for todo in self._todos if todo.has_tag(tag_name)]:
value = todo.tag_value(tag_name)
if not self._depgraph.has_edge_id(value):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment