Commit b1e4bdb3 authored by Denis Bilenko's avatar Denis Bilenko

fix issue 115: Socket.py _dummy gets unexpected Timeout arg

parent 7f4e0b01
......@@ -217,7 +217,7 @@ else:
class _closedsocket(object):
__slots__ = []
def _dummy(*args):
def _dummy(*args, **kwargs):
raise error(EBADF, 'Bad file descriptor')
# All _delegate_methods must also be initialized here.
send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment