[pango.attr_list.AttrList], with a reference count of one, which should be freed with [pango.attr_list.AttrList.unref]. Returns null if list was null.
AttrList.copy
pango.attr_list.AttrList copy()Copy list and return an identical new list.
Returns
the newly allocated