docs: split clause semicolons in new comments

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:45:11 +01:00
1 parent 36f2d1129e
commit f10fa21d17
12 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ def section(text: str, heading: str, *, stop: int | None = None) -> str:
higher (the heading's own level by default).
The heading is its text, or the full line with its hashes, which then
fix its level; a trailing ``{ #anchor }`` is optional either way."""
fix its level. A trailing ``{ #anchor }`` is optional either way."""
title = heading.lstrip("#")
hashes = heading[: len(heading) - len(title)]
title = title.strip()