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.
1 parent 1332f4b commit eb8ef50Copy full SHA for eb8ef50
AutoDuck/makedfromi.py
@@ -84,7 +84,7 @@ def make_doc_summary(inFile, outFile):
84
else:
85
extra_tags.append("// " + doc + "\n")
86
except Exception as msg:
87
- print("Line %d is badly formed - %s" % (lineNo, msg))
+ print(f"Line {lineNo} is badly formed - {msg}")
88
89
lineNo += 1
90
@@ -151,7 +151,7 @@ def doit():
151
msg = " ".join(args)
152
except getopt.error as msg:
153
print(msg)
154
- print("Usage: %s [-o output_name] [-p com_parent] filename" % sys.argv[0])
+ print(f"Usage: {sys.argv[0]} [-o output_name] [-p com_parent] filename")
155
return
156
157
inName = args[0]
0 commit comments