Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lettuce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
lettuce
Commits
2a0a9e26
Commit
2a0a9e26
authored
Jul 29, 2011
by
Chris Morgan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mistake in docs (use str.join instead of str.append).
parent
e305e514
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
docs/tutorial/multiline.rst
+2
-3
No files found.
docs/tutorial/multiline.rst
View file @
2a0a9e26
...
@@ -95,7 +95,7 @@ Which we can verify like so:
...
@@ -95,7 +95,7 @@ Which we can verify like so:
@step('I should see the following:')
@step('I should see the following:')
def i_should_see_the_following(step):
def i_should_see_the_following(step):
assert step.multiline == '\n'.
append
([
assert step.multiline == '\n'.
join
([
' one',
' one',
' two ',
' two ',
' three ',
' three ',
...
@@ -114,4 +114,4 @@ thus doesn't need to have a quote at the end of it.
...
@@ -114,4 +114,4 @@ thus doesn't need to have a quote at the end of it.
Also note that if you want a double quote at the beginning of a line
Also note that if you want a double quote at the beginning of a line
in your string, you'll have to start your line with two double quotes,
in your string, you'll have to start your line with two double quotes,
since the first one will be stripped off.
since the first one will be stripped off.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment