Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 604577c..4906007 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -778,7 +778,7 @@
self.sock.sendall(d)
else:
raise TypeError("data should be a bytes-like object\
- or an iterable, got %r " % type(it))
+ or an iterable, got %r " % type(data))
def _output(self, s):
"""Add a line of output to the current request buffer.