Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
85452b42
Commit
85452b42
authored
7 years ago
by
Joseph Ramsay
Browse files
Options
Downloads
Patches
Plain Diff
Re #20827 Changed print to stdout in SaveYDA doctest
parent
8c84e37c
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/algorithms/SaveYDA-v1.rst
+2
-1
2 additions, 1 deletion
docs/source/algorithms/SaveYDA-v1.rst
with
2 additions
and
1 deletion
docs/source/algorithms/SaveYDA-v1.rst
+
2
−
1
View file @
85452b42
...
...
@@ -29,6 +29,7 @@ Usage
import os
import numpy as np
from sys import stdout
# create x and y data
dataX = np.arange(12).reshape(3, 4)
...
...
@@ -55,7 +56,7 @@ Usage
with open(filename,'r') as f:
for i in range(12):
print
(f.readline()
, end=''
)
stdout.write
(f.readline())
**Output:**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment