summaryrefslogtreecommitdiff
path: root/doc/data/messages/t/truncated-format-string/bad.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/t/truncated-format-string/bad.py')
-rw-r--r--doc/data/messages/t/truncated-format-string/bad.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/data/messages/t/truncated-format-string/bad.py b/doc/data/messages/t/truncated-format-string/bad.py
new file mode 100644
index 000000000..961582bff
--- /dev/null
+++ b/doc/data/messages/t/truncated-format-string/bad.py
@@ -0,0 +1,3 @@
+PARG_2 = 1
+
+print("strange format %2" % PARG_2) # [truncated-format-string]