Star imports are discouraged and break pyflakes.
I'm happy to report that pyflakes finds no issues ;)
import sys
import collections
import re
-from xml_helper import *
+from xml_helper import xml_parse, xml_print, tree
from copy import deepcopy
TEMPLATE = '''\
import collections
import sys
import re
-from xml_helper import *
+from xml_helper import xml_parse, xml_print, tree
MDASH = ' — ' if sys.version_info.major >= 3 else ' -- '
import sys
import os.path
import pprint
-from xml_helper import *
+from xml_helper import xml_parse
def man(page, number):
return '{}.{}'.format(page, number)