Skip to content

Commit f6d1b3e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9c02f41 commit f6d1b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/extensions/typed_returns.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
def _process_return(lines: Iterable[str]) -> Generator[str, None, None]:
1313
for line in lines:
1414
if m := re.fullmatch(r"(?P<param>\w+)\s+:\s+(?P<type>[\w.]+)", line):
15-
yield f'-{m["param"]} (:class:`~{m["type"]}`)'
15+
yield f"-{m['param']} (:class:`~{m['type']}`)"
1616
else:
1717
yield line
1818

0 commit comments

Comments
 (0)