Home
last modified time | relevance | path

Searched refs:DecimalTuple (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/_decimal/
D_decimal.c3671 static PyTypeObject *DecimalTuple = NULL; variable
3754 result = PyObject_CallFunctionObjArgs((PyObject *)DecimalTuple, in PyDec_AsTuple()
5723 ASSIGN_PTR(DecimalTuple, (PyTypeObject *)PyObject_CallMethod(collections, in PyInit__decimal()
5728 CHECK_INT(PyDict_SetItemString(DecimalTuple->tp_dict, "__module__", obj)); in PyInit__decimal()
5758 Py_INCREF(DecimalTuple); in PyInit__decimal()
5759 CHECK_INT(PyModule_AddObject(m, "DecimalTuple", (PyObject *)DecimalTuple)); in PyInit__decimal()
5916 Py_CLEAR(DecimalTuple); /* GCOV_NOT_REACHED */ in PyInit__decimal()
/external/python/cpython2/Lib/
Ddecimal.py144 DecimalTuple = _namedtuple('DecimalTuple', 'sign digits exponent') variable
146 DecimalTuple = lambda *args: args function
991 return DecimalTuple(self._sign, tuple(map(int, self._int)), self._exp)
/external/python/cpython3/Lib/
D_pydecimal.py162 DecimalTuple = _namedtuple('DecimalTuple', 'sign digits exponent') variable
164 DecimalTuple = lambda *args: args function
974 return DecimalTuple(self._sign, tuple(map(int, self._int)), self._exp)
/external/python/cpython3/Lib/test/
Dtest_decimal.py2498 self.assertIsInstance(r, P.DecimalTuple)
2505 self.assertIsInstance(r, C.DecimalTuple)
/external/python/cpython2/Doc/library/
Ddecimal.rst431 ``DecimalTuple(sign, digits, exponent)``.
/external/python/cpython3/Doc/library/
Ddecimal.rst476 ``DecimalTuple(sign, digits, exponent)``.