diff options
author | benedwards14 <53377856+benedwards14@users.noreply.github.com> | 2019-11-21 17:24:58 (GMT) |
---|---|---|
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | 2019-11-21 17:24:58 (GMT) |
commit | 0aca3a3a1e68b4ca2d334ab5255dfc267719096e (patch) | |
tree | 49924b3d2c93eddef6fc735c49a6177b0d29744d /Misc | |
parent | 82f897bf8f72d09f537054d64a94e645ad23d8d6 (diff) | |
download | cpython-0aca3a3a1e68b4ca2d334ab5255dfc267719096e.zip cpython-0aca3a3a1e68b4ca2d334ab5255dfc267719096e.tar.gz cpython-0aca3a3a1e68b4ca2d334ab5255dfc267719096e.tar.bz2 |
bpo-37838: get_type_hints for wrapped functions with forward reference (GH-17126)
https://bugs.python.org/issue37838
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst b/Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst new file mode 100644 index 0000000..96d804a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst @@ -0,0 +1 @@ +:meth:`typing.get_type_hints` properly handles functions decorated with :meth:`functools.wraps`. |