diff --git a/direct/src/task/Task.py b/direct/src/task/Task.py index 84c90b43d1..34dce1d8bf 100644 --- a/direct/src/task/Task.py +++ b/direct/src/task/Task.py @@ -269,6 +269,7 @@ class DoLaterList(list): """ Add task, keeping the list sorted. This does a binary search for the index to insert into. + Returns the index at which task was inserted. """ lo = 0 hi = len(self)