parameters: (dictionary, element)
return_statement: return res
docstring: Returns the keys whose values in `dictionary` are `element`
      or, if none exists, [].
      
          >>> d = {1:4, 3:4}
          >>> dictfindall(d, 4)
          [1, 3]
          >>> dictfindall(d, 5)
          []
docstring_summary: Returns the keys whose values in `dictionary` are `element`
      or, if none exists, [].
      
          >>> d = {1:4, 3:4}
          >>> dictfindall(d, 4)
          [1, 3]
          >>> dictfindall(d, 5)
          []
docstring_tokens: Returns the keys whose values in dictionary are element or if none exists [] . >>> d = { 1 : 4 3 : 4 } >>> dictfindall ( d 4 ) [ 1 3 ] >>> dictfindall ( d 5 ) []
function: def dictfindall(dictionary, element):
      """
      Returns the keys whose values in `dictionary` are `element`
      or, if none exists, [].
      
          >>> d = {1:4, 3:4}
          >>> dictfindall(d, 4)
          [1, 3]
          >>> dictfindall(d, 5)
          []
      """
      res = []
      for (key, value) in dictionary.iteritems():
          if element is value:
              res.append(key)
      return res
function_tokens: def dictfindall ( dictionary , element ) : res = [ ] for ( key , value ) in dictionary . iteritems ( ) : if element is value : res . append ( key ) return res