diff --git a/pyopencl/algorithm.py b/pyopencl/algorithm.py
index a5576796c279c95593b3d577b18a4e66ea5527ae..5a8780994583128c6244b5ac112fa3b771cc1c75 100644
--- a/pyopencl/algorithm.py
+++ b/pyopencl/algorithm.py
@@ -1042,8 +1042,8 @@ class ListOfListsBuilder:
     def __call__(self, queue, n_objects, *args, **kwargs):
         """
         :arg args: arguments corresponding to arg_decls in the constructor.
-            Arguments must be either 1D :class:`pyopencl.array.Array' objects
-            or :class:`pyopencl.MemoryObject' objects.
+            Arguments must be either 1D :class:`pyopencl.array.Array` objects
+            or :class:`pyopencl.MemoryObject` objects.
         :arg allocator: optionally, the allocator to use to allocate new
             arrays.
         :arg omit_lists: An iterable of list names that should *not* be built