[issue41805] types.GenericAlias and types.Union have no documentation

Patrick Reader report at bugs.python.org
Thu Sep 17 15:28:28 EDT 2020


New submission from Patrick Reader <pxeger at protonmail.com>:

See title.

For reference:

`GenericAlias` was added by Guido van Rossum <guido at 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 <MaggieMoss at 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 at python
components: Documentation
messages: 377064
nosy: docs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue41805>
_______________________________________


More information about the Python-bugs-list mailing list