diff options
author | kj <28750310+Fidget-Spinner@users.noreply.github.com> | 2020-11-02 02:13:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 10:13:38 -0800 |
commit | 1f7dfb277e5b88cddc13e5024766be787a3e9127 (patch) | |
tree | 042580f940e32cb44182c0aafd31710610efa455 /Python/fileutils.c | |
parent | 148c76b27ce3823ff7e3ccb1d3a6b4598ce9b35b (diff) | |
download | cpython-git-1f7dfb277e5b88cddc13e5024766be787a3e9127.tar.gz |
bpo-42233: Correctly repr GenericAlias when used with typing module (GH-23081)
Noticed by @serhiy-storchaka in the bpo. `typing`'s types were not showing the parameterized generic.
Eg. previously:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict, list]'
```
Now:
```python
>>> typing.Union[dict[str, float], list[int]]
'typing.Union[dict[str, float], list[int]]'
```
Automerge-Triggered-By: GH:gvanrossum
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions