[Python-Dev] PEP 0492 __aenter__ & __aexit__
Daniel Miller
dalanmiller at rethinkdb.com
Sat Feb 6 16:44:30 EST 2016
Hi Python-Dev Group,
I am trying to implement __aenter__ and __aexit__ for the RethinkDB
<https://rethinkdb.com> Python driver. Looking at the PEP I don't see any
definitions as to what the expected parameters that __exit__ are supposed
to take and couldn't find any other similar implementations. Is there a
piece of documentation I should be looking at that I'm missing?
https://www.python.org/dev/peps/pep-0492/#asynchronous-context-managers-and-async-with
Many thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160206/17e84d8d/attachment.html>
More information about the Python-Dev
mailing list