[Python-checkins] r74010 - python/branches/py3k/Lib/doctest.py
r.david.murray
python-checkins at python.org
Wed Jul 15 16:16:54 CEST 2009
Author: r.david.murray
Date: Wed Jul 15 16:16:54 2009
New Revision: 74010
Log:
PEP-8-ify r73389.
Modified:
python/branches/py3k/Lib/doctest.py
Modified: python/branches/py3k/Lib/doctest.py
==============================================================================
--- python/branches/py3k/Lib/doctest.py (original)
+++ python/branches/py3k/Lib/doctest.py Wed Jul 15 16:16:54 2009
@@ -821,7 +821,8 @@
# (see __patched_linecache_getlines).
file = inspect.getfile(obj)
if not file[0]+file[-2:] == '<]>': file = None
- if file is None: source_lines = None
+ if file is None:
+ source_lines = None
else:
if module is not None:
# Supply the module globals in case the module was
More information about the Python-checkins
mailing list