sean216 <taoyuan-...@163.com> added the comment: def close(self): self._sock = _closedsocket() dummy = self._sock._dummy for method in _delegate_methods: setattr(self, method, dummy) close.__doc__ = _realsocket.close.__doc__
socket.close function use Python25\DLLs\_socket.pyd, how to get _socket.pyd sorce code? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10724> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com