Skip to content

Commit 62b1666

Browse files
doc: Update comments about file types in _types.py (#1898)
* doc: Update comments about file types in _types.py #1897 * Update httpx/_types.py Co-authored-by: Tom Christie <tom@tomchristie.com>
1 parent fa03b48 commit 62b1666

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

httpx/_types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@
8383

8484
FileContent = Union[IO[bytes], bytes]
8585
FileTypes = Union[
86-
# file (or text)
86+
# file (or bytes)
8787
FileContent,
88-
# (filename, file (or text))
88+
# (filename, file (or bytes))
8989
Tuple[Optional[str], FileContent],
90-
# (filename, file (or text), content_type)
90+
# (filename, file (or bytes), content_type)
9191
Tuple[Optional[str], FileContent, Optional[str]],
9292
]
9393
RequestFiles = Union[Mapping[str, FileTypes], Sequence[Tuple[str, FileTypes]]]

0 commit comments

Comments
 (0)