Commit 7d25525c authored by Denis Bilenko's avatar Denis Bilenko

core: make event.add to actually clear global errno like it was supposed to

parent 0b213caa
......@@ -253,6 +253,7 @@ cdef class event:
def add(self, timeout=None):
"""Add event to be executed after an optional *timeout* - number of seconds
after which the event will be executed."""
global errno
cdef timeval tv
cdef double c_timeout
cdef int result
......
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