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.
fmt in (...)
1 parent 1b1ce39 commit ee820aaCopy full SHA for ee820aa
gmt/helpers/decorators.py
@@ -284,7 +284,7 @@ def new_module(*args, **kwargs):
284
for arg, fmt in conversions.items():
285
if arg in kwargs:
286
value = kwargs[arg]
287
- issequence = fmt == "sequence" or fmt == "sequence_comma"
+ issequence = fmt in ("sequence", "sequence_comma")
288
if issequence and is_nonstr_iter(value):
289
kwargs[arg] = separators[fmt].join(
290
"{}".format(item) for item in value
0 commit comments