summaryrefslogtreecommitdiff
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-03 02:12:54 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-04-03 02:12:54 +0000
commit519f91215bd353c745946e5d892fd1f089dbcb84 (patch)
tree09bae2446a79d3d69a9a4ff72e1ec3084766f61e /Lib/ssl.py
parent50badad807abc5367359bd81a2a8051ff5cdce7e (diff)
downloadcpython-git-519f91215bd353c745946e5d892fd1f089dbcb84.tar.gz
Issue #25951: Fix SSLSocket.sendall() to return None, by Aviv Palivoda
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 65ad38f899..68db748aa8 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -886,7 +886,6 @@ class SSLSocket(socket):
while (count < amount):
v = self.send(data[count:])
count += v
- return amount
else:
return socket.sendall(self, data, flags)