Commit 2c0fc264 authored by Denis Bilenko's avatar Denis Bilenko

ares.ares_host_result cannot be empty, so do not allow that

parent 39637f04
......@@ -180,8 +180,8 @@ cdef class result:
class ares_host_result(tuple):
def __new__(cls, family, *args):
cdef object self = tuple.__new__(cls, *args)
def __new__(cls, family, iterable):
cdef object self = tuple.__new__(cls, iterable)
self.family = family
return self
......
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