Searched refs:BasicContext (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 3952 BasicContext = self.decimal.BasicContext 3962 assert_signals(self, BasicContext, 'traps', 3967 basic_context_prec = BasicContext.prec 3972 BasicContext.prec = ExtendedContext.prec = 441 3973 for template in BasicContext, ExtendedContext: 3981 BasicContext.prec = basic_context_prec 3989 BasicContext = self.decimal.BasicContext 3997 self.assertEqual(BasicContext.prec, 9) 5187 C.BasicContext._traps,
|
D | test_statistics.py | 1373 with decimal.localcontext(decimal.BasicContext):
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 237 use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The 258 >>> setcontext(BasicContext) 978 with localcontext(BasicContext): # temporarily use the BasicContext 986 .. class:: BasicContext
|
/external/python/cpython2/Lib/ |
D | decimal.py | 415 if context in (DefaultContext, BasicContext, ExtendedContext): 456 if context in (DefaultContext, BasicContext, ExtendedContext): 5893 BasicContext = Context( variable
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 271 use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The 292 >>> setcontext(BasicContext) 949 .. class:: BasicContext
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 460 if context in (DefaultContext, BasicContext, ExtendedContext): 6089 BasicContext = Context( variable
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1148 :class:`~decimal.BasicContext` and :class:`~decimal.ExtendedContext`)
|