parameters: (self, func1, func2)
return_statement: return ret
docstring: Compare two functions.
docstring_summary: Compare two functions.
docstring_tokens: Compare two functions .
function: def _cmp_function(self, func1, func2):
          """Compare two functions."""
          name1 = func1[1]
          name2 = func2[1]
          ret = 0
          # sort by the names
          if name1 < name2:
              ret = -1
          elif name1 > name2:
              ret = 1
          return ret
function_tokens: def _cmp_function ( self , func1 , func2 ) : name1 = func1 [ 1 ] name2 = func2 [ 1 ] ret = 0 # sort by the names if name1 < name2 : ret = - 1 elif name1 > name2 : ret = 1 return ret