parameters: (dict)
return_statement: return (None, None, availAlgos)
docstring: Find an available hash type.
docstring_summary: Find an available hash type.
docstring_tokens: Find an available hash type .
function: def findHash(dict):
      """Find an available hash type."""
      # choose from one of these
      availAlgos = hashlib.algorithms_guaranteed
      for hashAlgo in availAlgos:
        if hashAlgo in dict:
          return (dict[hashAlgo], hashAlgo, availAlgos)
      # error
      return (None, None, availAlgos)
function_tokens: def findHash ( dict ) : # choose from one of these availAlgos = hashlib . algorithms_guaranteed for hashAlgo in availAlgos : if hashAlgo in dict : return ( dict [ hashAlgo ] , hashAlgo , availAlgos ) # error return ( None , None , availAlgos )