From: Stefan Krah Date: Sat, 7 Jan 2017 22:20:27 +0000 (+0100) Subject: Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive X-Git-Tag: v3.7.0a1~1613 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b5fa6b7c96c945800cead447d7ab1f5e87d151d;p=thirdparty%2FPython%2Fcpython.git Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive path and cause maintenance issues (3.6 <-> 3.7, private test suite). --- diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c index feaef2e8760f..7dd1eab655bc 100644 --- a/Modules/_decimal/_decimal.c +++ b/Modules/_decimal/_decimal.c @@ -5716,7 +5716,7 @@ PyInit__decimal(void) /* DecimalTuple */ ASSIGN_PTR(collections, PyImport_ImportModule("collections")); ASSIGN_PTR(DecimalTuple, (PyTypeObject *)PyObject_CallMethod(collections, - "namedtuple", "ss", "DecimalTuple", + "namedtuple", "(ss)", "DecimalTuple", "sign digits exponent")); ASSIGN_PTR(obj, PyUnicode_FromString("decimal"));