code: def _max_append(L, s, maxlen, extra=""):
      if not isinstance(s, str):
          s = chr(s)
      if not L:
          L.append(s.lstrip())
      elif len(L[-1]) + len(s) <= maxlen:
          L[-1] += extra + s
      else:
          L.append(s.lstrip())
  
file_path: cpython/Lib/email/quoprimime.py
imports: import re
  from string import ascii_letters, digits, hexdigits
label_desc: Use image node_id 5 for calling a global function with example usage: _max_append(L, s, maxlen, extra) without return types