Whitespace normalization.

This commit is contained in:
Tim Peters 2006-02-26 04:21:50 +00:00
parent 4b92a82504
commit d6e7e73ff8
3 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ def _copy_immutable(x):
for t in (type(None), int, long, float, bool, str, tuple,
frozenset, type, xrange, types.ClassType,
types.BuiltinFunctionType,
types.FunctionType):
types.FunctionType):
d[t] = _copy_immutable
for name in ("ComplexType", "UnicodeType", "CodeType"):
t = getattr(types, name, None)

View file

@ -33,4 +33,4 @@ def foo(): pass
() # Uncoloured
all
GeneratorExit
trailing_whitespace = path
trailing_whitespace = path

View file

@ -128,7 +128,7 @@ def fill_stmt(iterable, fill_len):
"""Yield a string that fills at most fill_len characters with strings
returned by 'iterable' and separated by a space"""
# Deal with trailing char to handle ' '.join() calculation
fill_len += 1
fill_len += 1
overflow = None
it = iter(iterable)
while True: