[issue38333] add type signatures to library function docs
Guido van Rossum
report at bugs.python.org
Tue Oct 1 01:00:06 EDT 2019
Guido van Rossum <guido at python.org> added the comment:
Even if this not desirable for the source code, it still makes sense to add the types to the docs, at least when they are simple and compact. The proposed notation from PEP 604 ('|' for unions) might help with compactness. Many docs are unnecessarily vague about types.
----------
assignee: gvanrossum ->
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38333>
_______________________________________
More information about the Python-bugs-list
mailing list