We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
missing-format-argument-key
1 parent 2929833 commit 3704071Copy full SHA for 3704071
doc/data/messages/m/missing-format-argument-key/bad.py
@@ -0,0 +1 @@
1
+print("My name is {first} {last}".format(first="John")) # [missing-format-argument-key]
doc/data/messages/m/missing-format-argument-key/good.py
+print("My name is {first} {last}".format(first="John", last="Wick"))
doc/data/messages/m/missing-format-argument-key/related.rst
@@ -0,0 +1,2 @@
+`PEP 3101 <https://peps.python.org/pep-3101/>`_
2
+`Custom String Formmating <https://docs.python.org/3/library/string.html#custom-string-formatting>`_
0 commit comments