diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-26 04:21:50 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-26 04:21:50 (GMT) |
commit | d6e7e73ff869bf016ac69cc7569ba697089d1e94 (patch) | |
tree | ca648c2cd99566dc3e79a8f47e518e835d1fc3c6 | |
parent | 4b92a825046ca5b4a4422e6a22ff9c5819eb4a52 (diff) | |
download | cpython-d6e7e73ff869bf016ac69cc7569ba697089d1e94.zip cpython-d6e7e73ff869bf016ac69cc7569ba697089d1e94.tar.gz cpython-d6e7e73ff869bf016ac69cc7569ba697089d1e94.tar.bz2 |
Whitespace normalization.
-rw-r--r-- | Lib/copy.py | 2 | ||||
-rw-r--r-- | Misc/Vim/syntax_test.py | 2 | ||||
-rw-r--r-- | Misc/Vim/vim_syntax.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/copy.py b/Lib/copy.py index 9e60144..35c666f 100644 --- a/Lib/copy.py +++ b/Lib/copy.py @@ -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) diff --git a/Misc/Vim/syntax_test.py b/Misc/Vim/syntax_test.py index 67b3199..74f3bef 100644 --- a/Misc/Vim/syntax_test.py +++ b/Misc/Vim/syntax_test.py @@ -33,4 +33,4 @@ ur'unicode raw' () # Uncoloured all GeneratorExit -trailing_whitespace = path +trailing_whitespace = path diff --git a/Misc/Vim/vim_syntax.py b/Misc/Vim/vim_syntax.py index b733929..a4df485 100644 --- a/Misc/Vim/vim_syntax.py +++ b/Misc/Vim/vim_syntax.py @@ -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: |