summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/_decimal.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2017-01-07 22:20:27 (GMT)
committerStefan Krah <skrah@bytereef.org>2017-01-07 22:20:27 (GMT)
commit1b5fa6b7c96c945800cead447d7ab1f5e87d151d (patch)
treeda2f352b5dade4eba326c5899301a1acadbce8f1 /Modules/_decimal/_decimal.c
parent412393d520a439a84d8abef7774a0925ef2d914f (diff)
downloadcpython-1b5fa6b7c96c945800cead447d7ab1f5e87d151d.zip
cpython-1b5fa6b7c96c945800cead447d7ab1f5e87d151d.tar.gz
cpython-1b5fa6b7c96c945800cead447d7ab1f5e87d151d.tar.bz2
Revert (unauthorized) parts of b9eb35435178 which are not in a speed-sensitive
path and cause maintenance issues (3.6 <-> 3.7, private test suite).
Diffstat (limited to 'Modules/_decimal/_decimal.c')
-rw-r--r--Modules/_decimal/_decimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
index feaef2e..7dd1eab 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"));