[Python-checkins] r73389 - in python/branches/py3k: Lib/doctest.py Lib/test/test_doctest.py Misc/NEWS

Eric Smith eric+python-dev at trueblade.com
Sun Jun 14 16:40:48 CEST 2009


[ I sent this earlier, but I never saw it and it's not in the archives.
Apologies if you see it twice. ]

> +                if not file[0]+file[-2:] == '<]>': file = None
> +            if file is None: source_lines = None
> +            else:

I don't see a reason to put these on a single line.

> +                if not source_lines:
> +                    source_lines = None

Especially when this similar line is treated differently.

Eric.




More information about the Python-checkins mailing list