diff --git a/docs/src/userguide/language_basics.rst b/docs/src/userguide/language_basics.rst
index 41a11304d2516df4da9f67331672c293b10a2eda..a27851748aa0bc10d521bf6d8396b9154c449b7f 100644
--- a/docs/src/userguide/language_basics.rst
+++ b/docs/src/userguide/language_basics.rst
@@ -106,7 +106,7 @@ can group them into a :keyword:`cdef` block like this::
             int tons
 
         int i
-        float f
+        float a
         Spam *p
 
         void f(Spam *s):