diff options
author | Yurii Karabas <1998uriyyo@gmail.com> | 2021-12-10 23:27:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 23:27:55 (GMT) |
commit | 3cb357a2e6ac18ee98db5d450414e773744e3c76 (patch) | |
tree | cfe621315c5651e3b89199a2eb2411029706fbcb /Misc | |
parent | 810c1769f1c24ed907bdf3cc1086db4e602a28ae (diff) | |
download | cpython-3cb357a2e6ac18ee98db5d450414e773744e3c76.zip cpython-3cb357a2e6ac18ee98db5d450414e773744e3c76.tar.gz cpython-3cb357a2e6ac18ee98db5d450414e773744e3c76.tar.bz2 |
bpo-46014: Add ability to use typing.Union with singledispatch (GH-30017)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst b/Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst new file mode 100644 index 0000000..90aacaf --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst @@ -0,0 +1,2 @@ +Add ability to use ``typing.Union`` and ``types.UnionType`` as dispatch +argument to ``functools.singledispatch``. Patch provided by Yurii Karabas. |