diff --git a/doc/guide.rst b/doc/guide.rst
index 3dc1a2fe3dbd6a876ae961563463bd0ac87ba0b8..57bb29a51acf54cd3b4114b360456b171e9fd9f9 100644
--- a/doc/guide.rst
+++ b/doc/guide.rst
@@ -305,7 +305,7 @@ Saving arrays to the :py:class:`xbob.io.File` is as easy, just call the
 .. doctest::
 
   >>> f = xbob.io.File('copy1.hdf5', 'w')
-  >>> f.write(a)
+  >>> f.write(array)
 
 Numpy ndarray shortcuts
 -----------------------