commit | 7445381c606faf20e253da42656db478a4349f8e | [log] [tgz] |
---|---|---|
author | Sylvain <sylvain.desodt+github@gmail.com> | Sat Jun 10 06:51:48 2017 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Jun 10 07:51:48 2017 +0300 |
tree | 49ad79e5347454d1bbfeb1c2d06d3d09fd9b273f | |
parent | e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3 [diff] |
bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051) The function '_PyArg_ParseStack()' and '_PyArg_UnpackStack' were failing (with error "XXX() takes Y argument (Z given)") before the function '_PyArg_NoStackKeywords()' was called. Thus, the latter did not raise its more meaningful error : "XXX() takes no keyword arguments".