We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df656ab commit 0fec61fCopy full SHA for 0fec61f
1 file changed
nextstrain/cli/util.py
@@ -64,6 +64,7 @@ def colored(color, text):
64
)
65
66
67
+# TODO: Use str.removeprefix/removesuffix once Python 3.9 is the minimum supported version.
68
def remove_prefix(prefix, string):
69
return re.sub('^' + re.escape(prefix), '', string)
70
0 commit comments