diff options
author | Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | 2020-12-29 02:26:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 02:26:19 (GMT) |
commit | efb1f0918fad2ba3346a986b0e958dc5753a7bbe (patch) | |
tree | 035a6ce4a6e3778e74a68ee6ea614190e20811e7 /Misc | |
parent | a6d63a20df63b3fd33b5e1f629e7f96d00f6ae39 (diff) | |
download | cpython-efb1f0918fad2ba3346a986b0e958dc5753a7bbe.zip cpython-efb1f0918fad2ba3346a986b0e958dc5753a7bbe.tar.gz cpython-efb1f0918fad2ba3346a986b0e958dc5753a7bbe.tar.bz2 |
bpo-42740: Support PEP 604, 612 for typing.py get_args and get_origin (GH-23942)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-12-25-23-23-11.bpo-42740.F0rQ_E.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-12-25-23-23-11.bpo-42740.F0rQ_E.rst b/Misc/NEWS.d/next/Library/2020-12-25-23-23-11.bpo-42740.F0rQ_E.rst new file mode 100644 index 0000000..588d90f --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-12-25-23-23-11.bpo-42740.F0rQ_E.rst @@ -0,0 +1,2 @@ +:func:`typing.get_args` and :func:`typing.get_origin` now support :pep:`604` +union types and :pep:`612` additions to ``Callable``. |