From a9accffef220c7fd93e994f6fcd6dedfd6e4c6e0 Mon Sep 17 00:00:00 2001
From: Brandon Hewer <brandon.hewer@stfc.ac.uk>
Date: Thu, 5 Oct 2017 16:09:23 +0100
Subject: [PATCH] Update the SaveHKL docs

Refs #20823
---
 docs/source/algorithms/SaveHKL-v1.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/source/algorithms/SaveHKL-v1.rst b/docs/source/algorithms/SaveHKL-v1.rst
index 81f8ee26e9f..c2cc616f346 100644
--- a/docs/source/algorithms/SaveHKL-v1.rst
+++ b/docs/source/algorithms/SaveHKL-v1.rst
@@ -57,7 +57,7 @@ Usage
     peaks = LoadIsawPeaks(Filename=r'Peaks5637.integrate')
     SaveHKL(peaks, path)
 
-    print os.path.isfile(path)
+    print(os.path.isfile(path))
 
 Output:
 
@@ -86,13 +86,13 @@ Output:
 
     #load a peaks workspace from file
     peaks = LoadIsawPeaks(Filename=r'Peaks5637.integrate')
-    print "Number of peaks in table %d" % peaks.rowCount()
+    print("Number of peaks in table {}".format(peaks.rowCount()))
     
     path = os.path.join(os.path.expanduser("~"), "MyPeaks.hkl")
     SaveHKL(peaks, path, MinWavelength=0.5, MaxWavelength=2,MinDSpacing=0.2, SortBy='Bank')
 
     peaks = LoadHKL(path)
-    print "Number of peaks in table %d" % peaks.rowCount()
+    print("Number of peaks in table {}".format(peaks.rowCount()))
 
 Output:
 
-- 
GitLab