Searched refs:DecimalTuple (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 3671 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/ |
D | decimal.py | 144 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.py | 162 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/ |
D | test_decimal.py | 2498 self.assertIsInstance(r, P.DecimalTuple) 2505 self.assertIsInstance(r, C.DecimalTuple)
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 431 ``DecimalTuple(sign, digits, exponent)``.
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 476 ``DecimalTuple(sign, digits, exponent)``.
|