'Reads and parses public suffix list.
input_file is a file object or another iterable that returns
lines of a public suffix list file. If input_file is None, an
UTF-8 encoded file named "publicsuffix.txt" in the same
directory as this Python module is used.
The file format is described at http://publicsuffix.org/list/'

def __init__(self, input_data):

    root = self._build_structure(input_data)
    self.root = self._simplify(root)
