diff --git a/doc/nitpick-exceptions.txt b/doc/nitpick-exceptions.txt
index 5baa117159bea08f548e225af250749199ab02a4..57129fe961c83fc62de9048e0e138beec7cc3df9 100644
--- a/doc/nitpick-exceptions.txt
+++ b/doc/nitpick-exceptions.txt
@@ -16,7 +16,7 @@ cpp:type bob::io::base::File
 cpp:type bob::io::base::HDF5File
 
 # exceptions are not found in python 2.7
-py:exc ValueError
+py:exc RuntimeError
 
 # these don't exists on numpy's manual
 py:class numpy.uint8