docs: phase 2 of the prose style across docs and docstrings

This commit is contained in:
imSp4rky
2026-08-19 20:59:09 -06:00
parent 66971230c3
commit 8b10b793e2
29 changed files with 122 additions and 117 deletions
+8 -8
View File
@@ -626,11 +626,11 @@ def download(
RnetSession streams natively. requests.Session reads the raw socket, except
on a content-encoded body: only iter_content decodes such a body.
Yields these download status updates while the chunks download:
Yields these download status updates while the segments download:
- {total: 123} (there are 123 chunks to download)
- {total: None} (there are an unknown number of chunks to download)
- {advance: 1} (the downloader finished one chunk)
- {total: 123} (there are 123 segments to download)
- {total: None} (there are an unknown number of segments to download)
- {advance: 1} (the downloader finished one segment)
- {downloaded: "10.1 MB/s"} (currently downloading at a rate of 10.1 MB/s)
- {file_downloaded: Path(...), written: 1024} (download finished, has the save path and size)
@@ -1260,11 +1260,11 @@ def requests(
reports it as downloaded at its on-disk size without any request, so a second call resumes a
batch from the segments the earlier run completed.
Yields these download status updates while the chunks download:
Yields these download status updates while the segments download:
- {total: 123} (there are 123 chunks to download)
- {total: None} (there are an unknown number of chunks to download)
- {advance: 1} (the downloader finished one chunk)
- {total: 123} (there are 123 segments to download)
- {total: None} (there are an unknown number of segments to download)
- {advance: 1} (the downloader finished one segment)
- {downloaded: "10.1 MB/s"} (currently downloading at a rate of 10.1 MB/s)
- {file_downloaded: Path(...), written: 1024} (download finished, has the save path and size)