parameters: (revision)
return_statement: return re.match(r'[a-fA-F0-9]{40}$', str(revision))
docstring: Checks whether the input looks like a SHA1 hash.
docstring_summary: Checks whether the input looks like a SHA1 hash.
docstring_tokens: Checks whether the input looks like a SHA1 hash .
function: def _IsGitHash(revision):
    """Checks whether the input looks like a SHA1 hash."""
    return re.match(r'[a-fA-F0-9]{40}$', str(revision))
function_tokens: def _IsGitHash ( revision ) : return re . match ( r'[a-fA-F0-9]{40}$' , str ( revision ) )