Issue #25951: Fix SSLSocket.sendall() to return None, by Aviv Palivoda

This commit is contained in:
Martin Panter 2016-04-03 02:12:54 +00:00
parent 50badad807
commit 519f91215b
3 changed files with 13 additions and 7 deletions

View file

@ -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)