parameters: (start_hash, num_back)
return_statement: return [revision['commit'] for revision in json_data['log']]
docstring: Returns a list of commits that are the parent of the commit passed in.
docstring_summary: Returns a list of commits that are the parent of the commit passed in.
docstring_tokens: Returns a list of commits that are the parent of the commit passed in .
function: def get_parent_commits(start_hash, num_back):
    """Returns a list of commits that are the parent of the commit passed in."""
    list_commits = urllib2.urlopen(
        'https://skia.googlesource.com/skia/+log/%s?format=json&n=%d' %
        (start_hash, num_back))
    # NOTE: Very brittle. Removes the four extraneous characters
    # so json can be read successfully
    trunc_list = list_commits.read()[4:]
    json_data = json.loads(trunc_list)
    return [revision['commit'] for revision in json_data['log']]
function_tokens: def get_parent_commits ( start_hash , num_back ) : list_commits = urllib2 . urlopen ( 'https://skia.googlesource.com/skia/+log/%s?format=json&n=%d' % ( start_hash , num_back ) ) # NOTE: Very brittle. Removes the four extraneous characters # so json can be read successfully trunc_list = list_commits . read ( ) [ 4 : ] json_data = json . loads ( trunc_list ) return [ revision [ 'commit' ] for revision in json_data [ 'log' ] ]