summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
821a214)
Replace str() conversion with explicit number text formatting, for
improved awareness and easier future adjustment during maintenance.
- self.putc(ROW_EDGE, [str(edge_count)])
+ self.putc(ROW_EDGE, ["{:d}".format(edge_count)])
if divider and (edge_count % divider) == 0:
word_count += 1
if divider and (edge_count % divider) == 0:
word_count += 1
- self.putc(ROW_WORD, [str(word_count)])
+ self.putc(ROW_WORD, ["{:d}".format(word_count)])