[issue46589] Improve documentation for typing._GenericAlias

2022-02-06 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset a335d98f19b7fa66159d12932cc9a05eb2d8395f by Matthew Rahtz in branch 'main': bpo-46589: Improve documentation for typing._GenericAlias (GH-31026) https://github.com/python/cpython/commit/a335d98f19b7fa66159d12932cc9a05eb2d8395f --

[issue46589] Improve documentation for typing._GenericAlias

2022-01-30 Thread Alex Waygood
Change by Alex Waygood : -- assignee: -> docs@python components: +Documentation keywords: +patch nosy: +Jelle Zijlstra, docs@python, gvanrossum, kj stage: -> patch review ___ Python tracker

[issue46589] Improve documentation for typing._GenericAlias

2022-01-30 Thread Matthew Rahtz
New submission from Matthew Rahtz : There's currently not much documentation in `typing.py` for `_GenericAlias`. Some fairly weird things go on in there, so it would be great to have more info in the class about what's going on and why various edge cases are necessary. -- components: