[Python-checkins] r42576 - in python/trunk: Lib/copy.py Misc/Vim/syntax_test.py Misc/Vim/vim_syntax.py
tim.peters
python-checkins at python.org
Sun Feb 26 05:21:54 CET 2006
Author: tim.peters
Date: Sun Feb 26 05:21:50 2006
New Revision: 42576
Modified:
python/trunk/Lib/copy.py
python/trunk/Misc/Vim/syntax_test.py
python/trunk/Misc/Vim/vim_syntax.py
Log:
Whitespace normalization.
Modified: python/trunk/Lib/copy.py
==============================================================================
--- python/trunk/Lib/copy.py (original)
+++ python/trunk/Lib/copy.py Sun Feb 26 05:21:50 2006
@@ -102,7 +102,7 @@
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)
Modified: python/trunk/Misc/Vim/syntax_test.py
==============================================================================
--- python/trunk/Misc/Vim/syntax_test.py (original)
+++ python/trunk/Misc/Vim/syntax_test.py Sun Feb 26 05:21:50 2006
@@ -33,4 +33,4 @@
() # Uncoloured
all
GeneratorExit
-trailing_whitespace = path
+trailing_whitespace = path
Modified: python/trunk/Misc/Vim/vim_syntax.py
==============================================================================
--- python/trunk/Misc/Vim/vim_syntax.py (original)
+++ python/trunk/Misc/Vim/vim_syntax.py Sun Feb 26 05:21:50 2006
@@ -128,7 +128,7 @@
"""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:
More information about the Python-checkins
mailing list