We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3437ec9 commit a6aa7a5Copy full SHA for a6aa7a5
utils/gyb.py
@@ -51,7 +51,7 @@ def split_lines(s):
51
If the lines are later concatenated, the result is s, possibly
52
with a single appended newline.
53
"""
54
- return [l + '\n' for l in s.split('\n')]
+ return [line + '\n' for line in s.split('\n')]
55
56
57
# text on a line up to the first '$$', '${', or '%%'
@@ -748,7 +748,7 @@ def __str__(self, indent=''):
748
s = indent + 'Code: {' + source_lines[0] + '}'
749
else:
750
s = indent + 'Code:\n' + indent + '{\n' + '\n'.join(
751
- indent + 4 * ' ' + l for l in source_lines
+ indent + 4 * ' ' + line for line in source_lines
752
) + '\n' + indent + '}'
753
return s + self.format_children(indent)
754
0 commit comments