[Python-checkins] r42576 - in python/trunk: Lib/copy.py Misc/Vim/syntax_test.py Misc/Vim/vim_syntax.py
Brett Cannon
brett at python.org
Sun Feb 26 16:23:14 CET 2006
Any way to flag a file not to be whitespace normalized? The
syntax_test.py change was on purpose to test the flagging of
extraneous whitespace.
-Brett
On 2/25/06, tim.peters <python-checkins at python.org> wrote:
> 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:
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
More information about the Python-checkins
mailing list