summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2018-07-10 07:26:36 (GMT)
committerINADA Naoki <methane@users.noreply.github.com>2018-07-10 07:26:36 (GMT)
commit445f1b35ce8461268438c8a6b327ddc764287e05 (patch)
tree7946f28321ff39563a8200ed7705a600f7ab521a /Misc
parent7762e4d3872818272800dfbd8e1d8e3a689eb8f2 (diff)
downloadcpython-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.rst2
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.