code: def find_near_matches_substitutions_lp(subsequence, sequence,
                                         max_substitutions):
      
      _check_arguments(subsequence, sequence, max_substitutions)
  
      return list(_find_near_matches_substitutions_lp(subsequence, sequence,
                                                      max_substitutions))
docs: search for near-matches of subsequence in sequence
  
      This searches for near-matches, where the nearly-matching parts of the
      sequence must meet the following limitations (relative to the subsequence):
  
      * the number of character substitutions must be less than max_substitutions
      * no deletions or insertions are allowed