Skip to content

Commit adc77e8

Browse files
BUG: Fixed desc being loaded as list instead of str
Desc was being loaded in without being turned into a string. This was causing issues when indexes were used to check capitalization and the final period.
1 parent 94bd76b commit adc77e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def doc_parameters(self):
426426
"**kwargs, *args", "**kwds, *args"}
427427
docs = collections.OrderedDict()
428428
for name, type_, desc in self.doc["Parameters"]:
429-
info = (type_, desc)
429+
info = (type_, "".join(desc))
430430
if name in var_arg_combinations:
431431
args = name.split(", ")
432432
docs[args[0]] = info

0 commit comments

Comments
 (0)