Skip to content

Commit 65c8a8c

Browse files
authored
Update structure.rst - fix indentation bug
1 parent 0502ad1 commit 65c8a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/writing/structure.rst

Lines 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)