STINNER Victor <victor.stin...@gmail.com> added the comment: I'm sorry, I'm confused between docstrings and annotations.
My first goal is to not loose the return type from the docstring when the select module is converted to Argument Clinic, at least for the simplest return types. Complex return types can be documented manually in the body of a docstring. Return *annotation* would be nice to have, but it seems to be opposed to the current policy. I started a discussion on python-dev to ask if we should modify this policy :-) "[Python-Dev] Allow annotations using basic types in the stdlib?" https://mail.python.org/pipermail/python-dev/2017-November/150233.html ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com