Chris Angelico <ros...@gmail.com> writes: >> Does this conflict with type signature proposals > In the sense that you can't use both together, yes. But docstringargs > follows the rule of "if you're going to use annotations, also use a > decorator"; and the decorator removes all the annotations it uses.
This makes me think the annotation system is too limited. There should be a way to use multiple kinds of annotation at the same time, by using multiple decorators. Maybe there could be a convention where the annotation is a dictionary whose entries correspond to decorators and are consumed by those decorators. -- https://mail.python.org/mailman/listinfo/python-list