Home
last modified time | relevance | path

Searched refs:BasicContext (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_decimal.py3952 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,
Dtest_statistics.py1373 with decimal.localcontext(decimal.BasicContext):
/external/python/cpython2/Doc/library/
Ddecimal.rst237 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/
Ddecimal.py415 if context in (DefaultContext, BasicContext, ExtendedContext):
456 if context in (DefaultContext, BasicContext, ExtendedContext):
5893 BasicContext = Context( variable
/external/python/cpython3/Doc/library/
Ddecimal.rst271 use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The
292 >>> setcontext(BasicContext)
949 .. class:: BasicContext
/external/python/cpython3/Lib/
D_pydecimal.py460 if context in (DefaultContext, BasicContext, ExtendedContext):
6089 BasicContext = Context( variable
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1148 :class:`~decimal.BasicContext` and :class:`~decimal.ExtendedContext`)