[issue32222] pygettext doesn't extract docstrings for functions with type annotated params

Toby Harradine report at bugs.python.org
Tue Dec 5 05:47:39 EST 2017


Toby Harradine <tobyharradine at gmail.com> added the comment:

Correction for above: the type annotation syntax is actually from PEP 3107, not PEP 484.

I should also point out that this behaviour is occurring for annotated return types of functions and methods as well.

This is occurring on both Windows and Linux.

----------
Added file: https://bugs.python.org/file47318/test_returntypehinted_funcs.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32222>
_______________________________________


More information about the Python-bugs-list mailing list