Skip to content

Commit c5a3778

Browse files
authored
docs(todos): fix todo docs
1 parent e8a3585 commit c5a3778

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/gl_objects/todos.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ For example::
3636

3737
Mark a todo as done::
3838

39-
gl.todos.delete(todo_id)
39+
gl.todos.mark_as_done(todo_id)
4040
# or
41-
todo.delete()
41+
todo.mark_as_done()
4242

4343
Mark all the todos as done::
4444

45-
nb_of_closed_todos = gl.todos.delete_all()
45+
nb_of_closed_todos = gl.todos.mark_all_as_done()

0 commit comments

Comments
 (0)