Nick Coghlan added the comment:

Given that we have contextlib.AbstractContextManager now, perhaps it should 
just set "f.__annotations__['return'] = AbstractContextManager"? (assuming no 
other return annotation is already set)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to