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