diff Lib/socket.py @ 63937:5343f5714fee 2.6

#9543: Fix regression introduced in r83624.
author Ezio Melotti <ezio.melotti@gmail.com>
date Thu, 12 Aug 2010 17:29:24 +0000
parents 4c0b37d869ca
children 787b969d37f0
line wrap: on
line diff
--- a/Lib/socket.py	Wed Aug 11 00:19:53 2010 +0000
+++ b/Lib/socket.py	Thu Aug 12 17:29:24 2010 +0000
@@ -299,7 +299,7 @@
             finally:
                 if write_offset < data_size:
                     remainder = data[write_offset:]
-                    del view, data  # explicit free
+                    del data  # explicit free
                     self._wbuf.append(remainder)
                     self._wbuf_len = len(remainder)