kopia lustrzana https://github.com/micropython/micropython-lib
select: Add Epoll.close().
rodzic
fddef71832
commit
f94297ff86
|
@ -57,6 +57,9 @@ class Epoll:
|
|||
res.append((vals[1], vals[0]))
|
||||
return res
|
||||
|
||||
def close(self):
|
||||
os.close(self.epfd)
|
||||
|
||||
|
||||
def epoll(sizehint=4):
|
||||
fd = epoll_create(sizehint)
|
||||
|
|
|
@ -5,7 +5,7 @@ sys.path.pop(0)
|
|||
from setuptools import setup
|
||||
|
||||
setup(name='micropython-select',
|
||||
version='0.0.3',
|
||||
version='0.0.4',
|
||||
description='select module to MicroPython',
|
||||
url='https://github.com/micropython/micropython/issues/405',
|
||||
author='Paul Sokolovsky',
|
||||
|
|
Ładowanie…
Reference in New Issue