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

Eric Smith eric at trueblade.com
Fri Jun 12 18:59:24 CEST 2009


> + 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

AltStyle によって変換されたページ (->オリジナル) /