Skip to content

Commit 9072b68

Browse files
author
kuyan
committed
more code tags.
1 parent 4428d87 commit 9072b68

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
@@ -448,10 +448,10 @@ with calls to ``append()``.
448448
nums = [str(n) for n in range(20)]
449449
print "".join(nums)
450450
451-
One final thing to mention about strings is that using join() is not always
451+
One final thing to mention about strings is that using ``join()`` is not always
452452
best. In the instances where you are creating a new string from a pre-determined
453453
number of strings, using the addition operator is actually faster, but in cases
454-
like above or in cases where you are adding to an existing string, using join()
454+
like above or in cases where you are adding to an existing string, using ``join()``
455455
should be your preferred method.
456456

457457
.. code-block:: python

0 commit comments

Comments
 (0)