diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2018-07-10 07:26:36 (GMT) |
---|---|---|
committer | INADA Naoki <methane@users.noreply.github.com> | 2018-07-10 07:26:36 (GMT) |
commit | 445f1b35ce8461268438c8a6b327ddc764287e05 (patch) | |
tree | 7946f28321ff39563a8200ed7705a600f7ab521a /Misc | |
parent | 7762e4d3872818272800dfbd8e1d8e3a689eb8f2 (diff) | |
download | cpython-445f1b35ce8461268438c8a6b327ddc764287e05.zip cpython-445f1b35ce8461268438c8a6b327ddc764287e05.tar.gz cpython-445f1b35ce8461268438c8a6b327ddc764287e05.tar.bz2 |
bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-07-08-18-49-41.bpo-33967.lhaAez.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-08-18-49-41.bpo-33967.lhaAez.rst b/Misc/NEWS.d/next/Library/2018-07-08-18-49-41.bpo-33967.lhaAez.rst new file mode 100644 index 0000000..1e1e745 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-07-08-18-49-41.bpo-33967.lhaAez.rst @@ -0,0 +1,2 @@ +functools.singledispatch now raises TypeError instead of IndexError when no +positional arguments are passed. |