parameters: (newName, proxy=None)
docstring: Renames the given source.  If the given proxy is not registered
      in the sources group this method will have no effect.  If no source is
      provided, the active source is used.
docstring_summary: Renames the given source.  If the given proxy is not registered
      in the sources group this method will have no effect.  If no source is
      provided, the active source is used.
docstring_tokens: Renames the given source . If the given proxy is not registered in the sources group this method will have no effect . If no source is provided the active source is used .
function: def RenameSource(newName, proxy=None):
      """Renames the given source.  If the given proxy is not registered
      in the sources group this method will have no effect.  If no source is
      provided, the active source is used."""
      if not proxy:
          proxy = GetActiveSource()
      RenameProxy(proxy, "sources", newName)
function_tokens: def RenameSource ( newName , proxy = None ) : if not proxy : proxy = GetActiveSource ( ) RenameProxy ( proxy , "sources" , newName )