Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix read()able in http.client docstrings
  • Loading branch information
arhadthedev authored May 25, 2023
commit c284605c259bb81022f40027ec153d7d06eee47c
4 changes: 2 additions & 2 deletions Lib/http/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ def send(self, data):
print("send:", repr(data))
if hasattr(data, "read") :
if self.debuglevel > 0:
print("sendIng a read()able")
print("sendIng a readable")
Comment thread
arhadthedev marked this conversation as resolved.
Outdated
encode = self._is_textIO(data)
if encode and self.debuglevel > 0:
print("encoding file using iso-8859-1")
Expand Down Expand Up @@ -1054,7 +1054,7 @@ def _output(self, s):

def _read_readable(self, readable):
if self.debuglevel > 0:
print("sendIng a read()able")
print("sendIng a readable")
Comment thread
arhadthedev marked this conversation as resolved.
Outdated
encode = self._is_textIO(readable)
if encode and self.debuglevel > 0:
print("encoding file using iso-8859-1")
Expand Down