diff --git a/pyopencl/algorithm.py b/pyopencl/algorithm.py
index 413af08ed721116d3724a9b5c915cf54b2297a25..c8fc5869e7169f071323ec42118ac6935782ddf4 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