parameters: (self, module)
return_statement: return ET.SubElement(self._root_element, "Module", {"name":module})
docstring: Returns a module element from the XML tree. If no module with the 
  		specified name exists, a new element will be created.
  
  		@param module: The module to get from the settings tree
  		@type module: C{string}
docstring_summary: Returns a module element from the XML tree. If no module with the 
  		specified name exists, a new element will be created.
docstring_tokens: Returns a module element from the XML tree . If no module with the specified name exists a new element will be created .
function: def _getModuleTree(self, module):
  		"""
  		Returns a module element from the XML tree. If no module with the 
  		specified name exists, a new element will be created.
  
  		@param module: The module to get from the settings tree
  		@type module: C{string}
  		"""
  		if not isinstance(module, basestring):
  			raise AttributeError("Settings:_getModuleTree: Invalid type for "
  								 "module argument.")
  
  		for c in self._root_element:
  			if c.tag == "Module" and c.get("name", "") == module:
  				return c
  
  		# Create module
  		return ET.SubElement(self._root_element, "Module", {"name":module})
function_tokens: def _getModuleTree ( self , module ) : if not isinstance ( module , basestring ) : raise AttributeError ( "Settings:_getModuleTree: Invalid type for " "module argument." ) for c in self . _root_element : if c . tag == "Module" and c . get ( "name" , "" ) == module : return c # Create module return ET . SubElement ( self . _root_element , "Module" , { "name" : module } )