Commit d6e7e73f authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent 4b92a825
...@@ -102,7 +102,7 @@ def _copy_immutable(x): ...@@ -102,7 +102,7 @@ def _copy_immutable(x):
for t in (type(None), int, long, float, bool, str, tuple, for t in (type(None), int, long, float, bool, str, tuple,
frozenset, type, xrange, types.ClassType, frozenset, type, xrange, types.ClassType,
types.BuiltinFunctionType, types.BuiltinFunctionType,
types.FunctionType): types.FunctionType):
d[t] = _copy_immutable d[t] = _copy_immutable
for name in ("ComplexType", "UnicodeType", "CodeType"): for name in ("ComplexType", "UnicodeType", "CodeType"):
t = getattr(types, name, None) t = getattr(types, name, None)
......
...@@ -33,4 +33,4 @@ ur'unicode raw' ...@@ -33,4 +33,4 @@ ur'unicode raw'
() # Uncoloured () # Uncoloured
all all
GeneratorExit GeneratorExit
trailing_whitespace = path trailing_whitespace = path
...@@ -128,7 +128,7 @@ def fill_stmt(iterable, fill_len): ...@@ -128,7 +128,7 @@ def fill_stmt(iterable, fill_len):
"""Yield a string that fills at most fill_len characters with strings """Yield a string that fills at most fill_len characters with strings
returned by 'iterable' and separated by a space""" returned by 'iterable' and separated by a space"""
# Deal with trailing char to handle ' '.join() calculation # Deal with trailing char to handle ' '.join() calculation
fill_len += 1 fill_len += 1
overflow = None overflow = None
it = iter(iterable) it = iter(iterable)
while True: while True:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment