code: def format_name(name):
      if name.endswith("_") and not name.startswith("_"):
          name = name[:-1]
      return name
  
imports: from pythran import tables
label_desc: Use image node_id 1 for calling a global function with example usage: format_name(name) and returns: name