parameters: (s)
return_statement: return count
docstring: Return the length of str when it is encoded with header quopri.
docstring_summary: Return the length of str when it is encoded with header quopri.
docstring_tokens: Return the length of str when it is encoded with header quopri .
function: def header_quopri_len(s):
      """Return the length of str when it is encoded with header quopri."""
      count = 0
      for c in s:
          if hqre.match(c):
              count += 3
          else:
              count += 1
      return count
function_tokens: def header_quopri_len ( s ) : count = 0 for c in s : if hqre . match ( c ) : count += 3 else : count += 1 return count