parameters: (self, file, function)
return_statement: return r[0][0], r[0][1], r[0][2], r[1][3]
docstring: Returns the file, line number, function name, and cumulative time.
docstring_summary: Returns the file, line number, function name, and cumulative time.
docstring_tokens: Returns the file line number function name and cumulative time .
function: def get_function_profile(self, file, function):
          """
          Returns the file, line number, function name, and cumulative time.
          """
          try:
              import pstats
          except ImportError, e:
              sys.stderr.write('%s: func: %s\n' % (self.name, e))
              sys.stderr.write('%s  This version of Python is missing the profiler.\n' % self.name_spaces)
              sys.stderr.write('%s  Cannot use the "func" subcommand.\n' % self.name_spaces)
              sys.exit(1)
          statistics = pstats.Stats(file).stats
          matches = [ e for e in statistics.items() if e[0][2] == function ]
          r = matches[0]
          return r[0][0], r[0][1], r[0][2], r[1][3]
function_tokens: def get_function_profile ( self , file , function ) : try : import pstats except ImportError , e : sys . stderr . write ( '%s: func: %s\n' % ( self . name , e ) ) sys . stderr . write ( '%s  This version of Python is missing the profiler.\n' % self . name_spaces ) sys . stderr . write ( '%s  Cannot use the "func" subcommand.\n' % self . name_spaces ) sys . exit ( 1 ) statistics = pstats . Stats ( file ) . stats matches = [ e for e in statistics . items ( ) if e [ 0 ] [ 2 ] == function ] r = matches [ 0 ] return r [ 0 ] [ 0 ] , r [ 0 ] [ 1 ] , r [ 0 ] [ 2 ] , r [ 1 ] [ 3 ]