summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-11-07 16:46:08 (GMT)
committerGitHub <noreply@github.com>2020-11-07 16:46:08 (GMT)
commite81e09bfc8a29a44a649a962870a26fe0c097cfa (patch)
tree813e841dbe1c915c3b68ef0d85262462f6878327 /Objects/unicodeobject.c
parent4c239a3222296c7d85ccd46e27835cc7880350be (diff)
downloadcpython-e81e09bfc8a29a44a649a962870a26fe0c097cfa.zip
cpython-e81e09bfc8a29a44a649a962870a26fe0c097cfa.tar.gz
cpython-e81e09bfc8a29a44a649a962870a26fe0c097cfa.tar.bz2
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 (cherry picked from commit 1f7dfb277e5b88cddc13e5024766be787a3e9127) Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
Diffstat (limited to 'Objects/unicodeobject.c')
0 files changed, 0 insertions, 0 deletions