Guido van Rossum <gu...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue38333> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com