summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc_data
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-17 08:48:17 (GMT)
committerGitHub <noreply@github.com>2021-07-17 08:48:17 (GMT)
commit480f29f913cff30329e7b425fd6669f83d6d8af8 (patch)
tree75e7e1eca5c266feaa015919aba0611e725d0f08 /Lib/pydoc_data
parentefda9054b9fc91e69ecb34eae84fdd2ca8e6feef (diff)
downloadcpython-480f29f913cff30329e7b425fd6669f83d6d8af8.zip
cpython-480f29f913cff30329e7b425fd6669f83d6d8af8.tar.gz
cpython-480f29f913cff30329e7b425fd6669f83d6d8af8.tar.bz2
bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204)
This fixes TypedDict to work with get_type_hints and postponed evaluation of annotations across modules. This is done by adding the module name to ForwardRef at the time the object is created and using that to resolve the globals during the evaluation. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 889036f7ef7290ef15b6c3373023f6a35387af0c) Co-authored-by: Germán Méndez Bravo <german.mb@gmail.com>
Diffstat (limited to 'Lib/pydoc_data')
0 files changed, 0 insertions, 0 deletions