select: Clarify comment.

pull/20/merge
Paul Sokolovsky 2015-01-19 23:24:02 +02:00
rodzic a30e3870c6
commit 0b53579d85
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -54,7 +54,8 @@ class Epoll:
r = epoll_ctl(self.epfd, EPOLL_CTL_MOD, fd, s)
os.check_error(r)
# We must keep reference to retval, or it may be GCed. And we must
# keep mapping from fd to retval to be able to get rid of retval reference.
# keep mapping from fd to retval to be able to get rid of this retval
# reference later.
self.registry[fd] = retval
def unregister(self, fd):