summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2021-04-12 18:17:25 (GMT)
committerGitHub <noreply@github.com>2021-04-12 18:17:25 (GMT)
commita9cf69df2e031d6157f01289f66ca9cf723ceb5c (patch)
tree10b37ae2e40dceb13f0725ac6d52d49ac3dc08ff /Misc
parent852150ddfe68bc2696fc880175aeb855a0c16ae6 (diff)
downloadcpython-a9cf69df2e031d6157f01289f66ca9cf723ceb5c.zip
cpython-a9cf69df2e031d6157f01289f66ca9cf723ceb5c.tar.gz
cpython-a9cf69df2e031d6157f01289f66ca9cf723ceb5c.tar.bz2
bpo-41515: Fix KeyError raised in get_type_hints (GH-25352)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: efahl <36704995+efahl@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-04-12-06-01-10.bpo-41515.YaVReb.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-04-12-06-01-10.bpo-41515.YaVReb.rst b/Misc/NEWS.d/next/Library/2021-04-12-06-01-10.bpo-41515.YaVReb.rst
new file mode 100644
index 0000000..aef5c17
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-04-12-06-01-10.bpo-41515.YaVReb.rst
@@ -0,0 +1,2 @@
+Fix :exc:`KeyError` raised in :func:`typing.get_type_hints` due to
+synthetic modules that don't appear in ``sys.modules``.