def process_module(self, line, contents):

        if line is not None:
            return None;

        parsed_module = []
        variables = self.parse_variables(contents)

        if variables is not None:
            parsed_module.append(('variables', variables))

        return parsed_module
Parses the whole module file to find module level variables.
dataset/ETHPy150Open adambullmer/sublime_docblockr_python/parsers/parser.py/PythonParser.process_module