diff options
Diffstat (limited to 'Lib/tabnanny.py')
| -rwxr-xr-x | Lib/tabnanny.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py index c9a1ccd..251df27 100755 --- a/Lib/tabnanny.py +++ b/Lib/tabnanny.py @@ -261,12 +261,11 @@ class Whitespace: return a def format_witnesses(w): - import string firsts = map(lambda tup: str(tup[0]), w) prefix = "at tab size" if len(w) > 1: prefix = prefix + "s" - return prefix + " " + string.join(firsts, ', ') + return prefix + " " + ', '.join(firsts) def process_tokens(tokens): INDENT = tokenize.INDENT |
