Skip to content

Commit 75f86bd

Browse files
leakechenryiii
andauthored
Fully expanding groups()
Co-authored-by: Henry Schreiner <[email protected]>
1 parent 737f6cf commit 75f86bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybind11_mkdoc/mkdoc_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def process_comment(comment):
173173
rm_lines.append(k)
174174
add_to = (t_params, name)
175175
elif m := return_re.match(line):
176-
text = m.groups()[0]
176+
text, = m.groups()
177177
ret.append(text.strip())
178178
add_to = (ret, len(ret) - 1)
179179
rm_lines.append(k)

0 commit comments

Comments
 (0)