diff --git a/bob/ip/binseg/data/imagefolderinference.py b/bob/ip/binseg/data/imagefolderinference.py
index af824bc6ebeb23b5e0b05708695eaae3158ce8f8..e396e7b42a3671d2c880dbba1aa55e090bd0f865 100644
--- a/bob/ip/binseg/data/imagefolderinference.py
+++ b/bob/ip/binseg/data/imagefolderinference.py
@@ -25,9 +25,10 @@ class ImageFolderInference(Dataset):
     Generic ImageFolder containing images for inference
 
     Notice that this implementation, contrary to its sister
-    :py:class:`ImageFolder`, does not *automatically* convert the input image
-    to RGB, before passing it to the transforms, so it is possible to
-    accomodate a wider range of input types (e.g. 16-bit PNG images).
+    :py:class:`bob.ip.binseg.data.ImageFolder`, does not *automatically*
+    convert the input image to RGB, before passing it to the transforms, so it
+    is possible to accomodate a wider range of input types (e.g. 16-bit PNG
+    images).
 
     Parameters
     ----------