New submission from Patrick Reader <pxe...@protonmail.com>:

See title.

For reference:

`GenericAlias` was added by Guido van Rossum <gu...@python.org> in commit 
48b069a003ba6c684a9ba78493fbbec5e89f10b8 "bpo-39481: Implementation for [PEP 
585](https://www.python.org/dev/peps/pep-0585/) (#18239)"

`Union` was added by Maggi Moss <maggiem...@users.noreply.github.com> in commit 
1b4552c5e8e925f24c15f707050f22c977171125 "bpo-41428: Implementation for [PEP 
604](https://www.python.org/dev/peps/pep-0604/) (GH-21515)"

I can do a PR which would need backporting (is that the right word?) to 3.9 at 
least for `GenericAlias`.

----------
assignee: docs@python
components: Documentation
messages: 377064
nosy: docs@python, pxeger
priority: normal
severity: normal
status: open
title: types.GenericAlias and types.Union have no documentation
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41805>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to