Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8603dfe

Browse filesBrowse files
authored
Merge pull request #858 from j127/patch-1
Update structure.rst - fix indentation bug
2 parents 0502ad1 + 65c8a8c commit 8603dfe
Copy full SHA for 8603dfe

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎docs/writing/structure.rst

Copy file name to clipboardExpand all lines: docs/writing/structure.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ The map function can be even faster than a list comprehension in some cases.
811811
# create a concatenated string from 0 to 19 (e.g. "012..1819")
812812
nums = ""
813813
for n in range(20):
814-
nums += str(n) # slow and inefficient
814+
nums += str(n) # slow and inefficient
815815
print nums
816816
817817
**Good**
@@ -821,7 +821,7 @@ The map function can be even faster than a list comprehension in some cases.
821821
# create a concatenated string from 0 to 19 (e.g. "012..1819")
822822
nums = []
823823
for n in range(20):
824-
nums.append(str(n))
824+
nums.append(str(n))
825825
print "".join(nums) # much more efficient
826826
827827
**Better**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.