[issue27905] Add documentation for typing.Type
New submission from Michael Lee: This patch adds some documentation for typing.Type[C]. The content itself is mostly an abbreviated version of the description from PEP 484 -- let me know if the patch is too terse or needs more examples. ---------- assignee: docs@python components: Documentation files: document-type.patch keywords: patch messages: 273974 nosy: docs@python, gvanrossum, michael0x2a priority: normal severity: normal status: open title: Add documentation for typing.Type versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file44285/document-type.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27905> _______________________________________
Ivan Levkivskyi added the comment: Michael, thank you for helping with this! Please take a look at my comments on the patch. ---------- nosy: +levkivskyi _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27905> _______________________________________
Michael Lee added the comment: Ok, here's version 2, taking into account Ivan's feedback! ---------- Added file: http://bugs.python.org/file44401/document-type-v2.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27905> _______________________________________
Roundup Robot added the comment: New changeset 9fb30d6af6a9 by Guido van Rossum in branch '3.5': Issue #27905: Docs for typing.Type[C], by Michael Lee. https://hg.python.org/cpython/rev/9fb30d6af6a9 New changeset 1705cde6266d by Guido van Rossum in branch 'default': Issue #27905: Docs for typing.Type[C], by Michael Lee. (Merge 3.5->3.6) https://hg.python.org/cpython/rev/1705cde6266d ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27905> _______________________________________
Guido van Rossum added the comment: Thanks again! Merged to 3.5 and 3.6 (after cleaning up trailing whitespace -- again ;-). ---------- resolution: -> fixed stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue27905> _______________________________________
participants (4)
-
Guido van Rossum
-
Ivan Levkivskyi
-
Michael Lee
-
Roundup Robot