Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6c81d75

Browse filesBrowse files
authored
pythongh-104924: Fix read()able in http.client log messages (pythongh-104926)
1 parent 7fc542c commit 6c81d75
Copy full SHA for 6c81d75

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎Lib/http/client.py

Copy file name to clipboardExpand all lines: Lib/http/client.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ def send(self, data):
10241024
print("send:", repr(data))
10251025
if hasattr(data, "read") :
10261026
if self.debuglevel > 0:
1027-
print("sendIng a read()able")
1027+
print("sending a readable")
10281028
encode = self._is_textIO(data)
10291029
if encode and self.debuglevel > 0:
10301030
print("encoding file using iso-8859-1")
@@ -1054,7 +1054,7 @@ def _output(self, s):
10541054

10551055
def _read_readable(self, readable):
10561056
if self.debuglevel > 0:
1057-
print("sendIng a read()able")
1057+
print("reading a readable")
10581058
encode = self._is_textIO(readable)
10591059
if encode and self.debuglevel > 0:
10601060
print("encoding file using iso-8859-1")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.