diff --git a/Documentation/pycardium/buttons.rst b/Documentation/pycardium/buttons.rst
index 1119f70082cc061b231415384ca51d2f72de29b0..77119fb7dae391d38710ebe86c2ad9e498a81d79 100644
--- a/Documentation/pycardium/buttons.rst
+++ b/Documentation/pycardium/buttons.rst
@@ -21,10 +21,10 @@ in your scripts.
       if pressed != 0:
          break
 
-   if pressed & buttons.BOTTOM_LEFT != 0:
+   if pressed && buttons.BOTTOM_LEFT != 0:
       print("Left button pressed!")
 
-   if pressed & buttons.BOTTOM_RIGHT != 0:
+   if pressed && buttons.BOTTOM_RIGHT != 0:
       print("Right button pressed!")
 
 .. py:function:: read(mask)