summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLouie Dinh <LouieDinh@gmail.com>2014-08-21 15:38:50 -0700
committerLouie Dinh <LouieDinh@gmail.com>2014-08-21 15:38:50 -0700
commit83b63aab543c2c7ece74f514ef12b1e068f463e4 (patch)
tree571a8c4431d47b0bc1618b25e4756b8e4e0f4597
parent1bb6478d0829b6925855e05d379a1c344ff0eb44 (diff)
Fix a long line.
-rw-r--r--python3.html.markdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index b494dc1e..f6babaff 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -93,7 +93,9 @@ not False # => True
"{} can be {}".format("strings", "interpolated")
# You can repeat the formatting arguments to save some typing.
-"{0} be nimble, {0} be quick, {0} jump over the {1}".format("Jack", "candle stick") #=> "Jack be nimble, Jack be quick, Jack jump over the candle stick"
+"{0} be nimble, {0} be quick, {0} jump over the {1}".format("Jack", "candle stick")
+#=> "Jack be nimble, Jack be quick, Jack jump over the candle stick"
+
# You can use keywords if you don't want to count.
"{name} wants to eat {food}".format(name="Bob", food="lasagna") #=> "Bob wants to eat lasagna"