summaryrefslogtreecommitdiff
path: root/doc/data/messages/f/format-combined-specification
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/f/format-combined-specification')
-rw-r--r--doc/data/messages/f/format-combined-specification/bad.py2
-rw-r--r--doc/data/messages/f/format-combined-specification/good.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/data/messages/f/format-combined-specification/bad.py b/doc/data/messages/f/format-combined-specification/bad.py
index 6a6a051f2..f530aa0d5 100644
--- a/doc/data/messages/f/format-combined-specification/bad.py
+++ b/doc/data/messages/f/format-combined-specification/bad.py
@@ -1 +1 @@
-print('{} {1}'.format('hello', 'world')) # [format-combined-specification]
+print("{} {1}".format("hello", "world")) # [format-combined-specification]
diff --git a/doc/data/messages/f/format-combined-specification/good.py b/doc/data/messages/f/format-combined-specification/good.py
index 542b77507..8aaab67f2 100644
--- a/doc/data/messages/f/format-combined-specification/good.py
+++ b/doc/data/messages/f/format-combined-specification/good.py
@@ -1,3 +1,3 @@
-print('{0} {1}'.format('hello', 'world'))
+print("{0} {1}".format("hello", "world"))
# or
-print('{} {}'.format('hello', 'world'))
+print("{} {}".format("hello", "world"))