parameters: (self, name)
docstring: Empties all entries from list
docstring_summary: Empties all entries from list
docstring_tokens: Empties all entries from list
function: def clearList (self, name):
          """Empties all entries from list"""
          if name not in self._register:
              print("Error:  '%s' not registered." \
                    % name)
              raise RuntimeError("Unknown variable")
          if self._register[name] != VarParsing.multiplicity.list:
              print("Error: '%s' is not a list" % name)
              raise RuntimeError("Faulty 'clear' command")
          # if we're still here, do what we came to do
          self._lists[name] = []
function_tokens: def clearList ( self , name ) : if name not in self . _register : print ( "Error:  '%s' not registered." % name ) raise RuntimeError ( "Unknown variable" ) if self . _register [ name ] != VarParsing . multiplicity . list : print ( "Error: '%s' is not a list" % name ) raise RuntimeError ( "Faulty 'clear' command" ) # if we're still here, do what we came to do self . _lists [ name ] = [ ]