From 8c84e37caede675695b1dc4d40ecc3a28651b8ce Mon Sep 17 00:00:00 2001
From: Joseph Ramsay <joseph.ramsay@stfc.ac.uk>
Date: Fri, 6 Oct 2017 08:53:34 +0100
Subject: [PATCH] Re #20827 Fixed format problems in SaveVulcan and SaveYDA

---
 docs/source/algorithms/SaveVulcanGSS-v1.rst | 2 +-
 docs/source/algorithms/SaveYDA-v1.rst       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/source/algorithms/SaveVulcanGSS-v1.rst b/docs/source/algorithms/SaveVulcanGSS-v1.rst
index 5fd56e7e861..15d8543cac2 100644
--- a/docs/source/algorithms/SaveVulcanGSS-v1.rst
+++ b/docs/source/algorithms/SaveVulcanGSS-v1.rst
@@ -39,7 +39,7 @@ Usage
   gfile.close()
 
   print("[GSAS File Start]")
-  for i in xrange(11):
+  for i in range(11):
       print(lines[i].rstrip())
   print("... ...")
 
diff --git a/docs/source/algorithms/SaveYDA-v1.rst b/docs/source/algorithms/SaveYDA-v1.rst
index 7ba385871f2..82173189eea 100644
--- a/docs/source/algorithms/SaveYDA-v1.rst
+++ b/docs/source/algorithms/SaveYDA-v1.rst
@@ -55,7 +55,7 @@ Usage
 
     with open(filename,'r') as f:
         for i in range(12):
-            print(f.readline())
+            print(f.readline(), end='')
 
 **Output:**
 
@@ -81,4 +81,4 @@ Usage
 
 .. categories::
 
-.. sourcelink::
\ No newline at end of file
+.. sourcelink::
-- 
GitLab