(s)
return s.strip("_").upper()
Strip leading and trailing underscores and make uppercase.
Strip leading and trailing underscores and make uppercase.
Strip leading and trailing underscores and make uppercase .
def mangle_struct_typename(s):
  """Strip leading and trailing underscores and make uppercase."""
  return s.strip("_").upper()
def mangle_struct_typename ( s ) : return s . strip ( "_" ) . upper ( )