parameters: (self, context=None)
return_statement: return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
                                  context)
docstring: Invert all its digits.
docstring_summary: Invert all its digits.
docstring_tokens: Invert all its digits .
function: def logical_invert(self, context=None):
          """Invert all its digits."""
          if context is None:
              context = getcontext()
          return self.logical_xor(_dec_from_triple(0,'1'*context.prec,0),
                                  context)
function_tokens: def logical_invert ( self , context = None ) : if context is None : context = getcontext ( ) return self . logical_xor ( _dec_from_triple ( 0 , '1' * context . prec , 0 ) , context )