diff --git a/pyopencl/algorithm.py b/pyopencl/algorithm.py
index e4ca85decfc290e8cab28f65c77f4b815bd388c3..2b14a8efbc612bd534476b20d16627d250168135 100644
--- a/pyopencl/algorithm.py
+++ b/pyopencl/algorithm.py
@@ -795,6 +795,11 @@ class ListOfListsBuilder:
         and a second time, for a 'generation' stage where the lists are
         actually filled. A `generate` function that has side effects beyond
         calling `append` is therefore ill-formed.
+
+        .. versionchanged:: 2018.1
+
+            Change *eliminate_empty_output_lists* argument type from `bool` to
+            `list`.
         """
 
         if devices is None: