def get_value(self, name):
        """Get the value of a variable"""
        ns = self._get_current_namespace()
        value = ns[name]
        try:
            self.send_spyder_msg('data', data=value)
        except:
            # * There is no need to inform users about
            #   these errors.
            # * value = None makes Spyder to ignore
            #   petitions to display a value
            self.send_spyder_msg('data', data=None)
        self._do_publish_pdb_state = False
def get_value ( self , name ) : ns = self . _get_current_namespace ( ) value = ns [ name ] try : self . send_spyder_msg ( 'data' , data = value ) except : self . send_spyder_msg ( 'data' , data = None ) self . _do_publish_pdb_state = False
Get the value of a variable