mirror of https://github.com/python/cpython
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:
parent
412393d520
commit
1b5fa6b7c9
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue