[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv
Aug. 22, 2017
5:24 p.m.
Ivan Levkivskyi added the comment:
For the end user the fact that this is a class is still hidden
I am not sure what you mean by this, but with your PR the rendered docs will literally say ``class typing.Tuple``.
We should probably add a unit test that makes sure all runtime "type" matches with documentation "type" in the future
I already mention, this was not an omission but a deliberate decision, see http://bugs.python.org/review/28644/diff/19105/Doc/library/typing.rst#newcod... (and below the same for Callable) ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue31024> _______________________________________
3215
Age (days ago)
3215
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ivan Levkivskyi