Skip to content

Commit fefdfd8

Browse files
committed
docs: clarify file-like object comment
1 parent fe2063b commit fefdfd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/requests/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def prepare_headers(self, headers):
496496
def prepare_body(self, data, files, json=None):
497497
"""Prepares the given HTTP body data."""
498498

499-
# Check if file, fo, generator, iterator.
499+
# Check if data is a file, file-like object, generator, or iterator.
500500
# If not, run through normal process.
501501

502502
# Nottin' on you.

0 commit comments

Comments
 (0)