diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-02 12:33:22 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-02 12:33:22 (GMT) |
commit | 9ea6c197476ecb6605b8b9039aaf1e297f47bc50 (patch) | |
tree | 9c7707bbf3b01f5cfbdd7a91923b8ec9c06eabbb | |
parent | 10ff706e2788a7c7ef9f8ea0108a5ede625fedad (diff) | |
download | cpython-9ea6c197476ecb6605b8b9039aaf1e297f47bc50.zip cpython-9ea6c197476ecb6605b8b9039aaf1e297f47bc50.tar.gz cpython-9ea6c197476ecb6605b8b9039aaf1e297f47bc50.tar.bz2 |
Patch #552060: Add SSLFakeSocket.sendall. Also committed for 2.2 maint.
-rwxr-xr-x | Lib/smtplib.py | 2 |
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() |