Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive

path and cause maintenance issues (3.6 <-> 3.7, private test suite).
This commit is contained in:
Stefan Krah 2017-01-07 23:20:27 +01:00
parent 412393d520
commit 1b5fa6b7c9
1 changed files with 1 additions and 1 deletions

View File

@ -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"));