summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-02 12:33:22 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-06-02 12:33:22 (GMT)
commit9ea6c197476ecb6605b8b9039aaf1e297f47bc50 (patch)
tree9c7707bbf3b01f5cfbdd7a91923b8ec9c06eabbb /Lib/smtplib.py
parent10ff706e2788a7c7ef9f8ea0108a5ede625fedad (diff)
downloadcpython-9ea6c197476ecb6605b8b9039aaf1e297f47bc50.zip
cpython-9ea6c197476ecb6605b8b9039aaf1e297f47bc50.tar.gz
cpython-9ea6c197476ecb6605b8b9039aaf1e297f47bc50.tar.bz2
Patch #552060: Add SSLFakeSocket.sendall. Also committed for 2.2 maint.
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-xLib/smtplib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 4311d1a..d840373 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -137,6 +137,8 @@ class SSLFakeSocket:
self.sslobj.write(str)
return len(str)
+ sendall = send
+
def close(self):
self.realsock.close()