| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7753,8 +7753,9 @@ _decimal_exec(PyObject *m) | |||
| 7753 | 7753 | ||
| 7754 | 7754 | /* DecimalTuple */ | |
| 7755 | 7755 | ASSIGN_PTR(collections, PyImport_ImportModule("collections")); | |
| 7756 | - obj = PyObject_CallMethod(collections, "namedtuple", "(ss)", "DecimalTuple", | ||
| 7757 | - "sign digits exponent"); | ||
| 7756 | + ASSIGN_PTR(obj, PyObject_CallMethod(collections, "namedtuple", "(ss)", | ||
| 7757 | + "DecimalTuple", | ||
| 7758 | + "sign digits exponent")); | ||
| 7758 | 7759 | if (!PyType_Check(obj)) { | |
| 7759 | 7760 | PyErr_SetString(PyExc_TypeError, | |
| 7760 | 7761 | "type is expected from namedtuple call"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments