AttrList.copy

Copy list and return an identical new list.

Returns

the newly allocated

[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.