obspy.core.inventory.util.InventoryTextWrapper.fill

InventoryTextWrapper.fill(text : string) → string

Reformat the single paragraph in ‘text’ to fit in lines of no more than ‘self.width’ columns, and return a new string containing the entire wrapped paragraph.