Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uasyncio: "function takes 2 positional arguments but 3 were given" when not using Pycopy #30

Open
bernd59 opened this issue Mar 25, 2019 · 1 comment

Comments

@bernd59
Copy link

bernd59 commented Mar 25, 2019

The Documentation MicroPython 1.10

uselect poll.unregister(obj) Unregister obj from polling.

In the File line 60

 uasyncio/__init__.py   
 
self.poller.unregister(sock, False) 

Please replace with

self.poller.unregister(sock)

Best regards Bernd

@pfalcon pfalcon changed the title function takes 2 positional arguments but 3 were given uasyncio: "function takes 2 positional arguments but 3 were given" when using not up to date micropython versions Mar 25, 2019
@pfalcon
Copy link
Owner

pfalcon commented Mar 25, 2019

Please read https://pypi.org/project/micropython-uasyncio/ for requirements for using uasyncio.

Also see pfalcon/picoweb#45 .

@pfalcon pfalcon changed the title uasyncio: "function takes 2 positional arguments but 3 were given" when using not up to date micropython versions uasyncio: "function takes 2 positional arguments but 3 were given" when ot using Pycopy Dec 4, 2019
@pfalcon pfalcon changed the title uasyncio: "function takes 2 positional arguments but 3 were given" when ot using Pycopy uasyncio: "function takes 2 positional arguments but 3 were given" when not using Pycopy Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants