Commit 5be5f5ee authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix typo in docstring

parent 10905d5d
...@@ -46,8 +46,8 @@ class TodoList(TodoListBase): ...@@ -46,8 +46,8 @@ class TodoList(TodoListBase):
def todo_by_dep_id(self, p_dep_id): def todo_by_dep_id(self, p_dep_id):
""" """
Returns the todo that has the id tag set to the value p_dep_id. Returns the todo that has the id tag set to the value p_dep_id.
There is only one such task, the behavior is undefined when a tag has There is only one such task, the behavior is undefined when a todo item
more than one id tag. has more than one id tag.
""" """
hits = [t for t in self._todos if t.tag_value('id') == p_dep_id] hits = [t for t in self._todos if t.tag_value('id') == p_dep_id]
......
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