for decl, comment in attrs:
line = '%s%s' % (indent, decl)
if comment:
n_spaces = max(35 - len(line), 1)
line += '%s/* %s. */' % (' ' * n_spaces, comment)
for decl, comment in attrs:
line = '%s%s' % (indent, decl)
if comment:
n_spaces = max(35 - len(line), 1)
line += '%s/* %s. */' % (' ' * n_spaces, comment)