Show More
@@ -644,10 +644,10 b' def formatspec(expr, *args):' | |||
|
644 | 644 | pos = 0 |
|
645 | 645 | arg = 0 |
|
646 | 646 | while pos < len(expr): |
|
647 | c = expr[pos] | |
|
647 | c = expr[pos:pos + 1] | |
|
648 | 648 | if c == '%': |
|
649 | 649 | pos += 1 |
|
650 | d = expr[pos] | |
|
650 | d = expr[pos:pos + 1] | |
|
651 | 651 | if d == '%': |
|
652 | 652 | ret += d |
|
653 | 653 | elif d in 'dsnbr': |
@@ -656,7 +656,7 b' def formatspec(expr, *args):' | |||
|
656 | 656 | elif d == 'l': |
|
657 | 657 | # a list of some type |
|
658 | 658 | pos += 1 |
|
659 | d = expr[pos] | |
|
659 | d = expr[pos:pos + 1] | |
|
660 | 660 | ret += listexp(list(args[arg]), d) |
|
661 | 661 | arg += 1 |
|
662 | 662 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now