diff --git a/docs/source/algorithms/MatchPeaks-v1.rst b/docs/source/algorithms/MatchPeaks-v1.rst
index 36e2148b2d5a975d4e368e6974e349efd02f2d2d..d245e56808a2ec73e8a70150585a6f12fd854249 100644
--- a/docs/source/algorithms/MatchPeaks-v1.rst
+++ b/docs/source/algorithms/MatchPeaks-v1.rst
@@ -39,7 +39,7 @@ Usage
 
   output_ws = MatchPeaks(InputWorkspace=ws)
 
-  print('Peak height at center: {:.11f}'.format(output_ws.readY(0)[ws.blocksize() / 2]))
+  print('Peak height at center: {:.11f}'.format(output_ws.readY(0)[ws.blocksize() // 2]))
 
 Output
 ######