summaryrefslogtreecommitdiff
path: root/Lib/doctest.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-07-15 14:16:54 +0000
committerR. David Murray <rdmurray@bitdance.com>2009-07-15 14:16:54 +0000
commit4ef48a6f4469424629ccae34422086ed4c6fd635 (patch)
tree4035c21043996a4aa75a3dfed9ecd06a8045b08c /Lib/doctest.py
parentdf1530aa5ee6332c54db7b4727d3ae7e81fd44a0 (diff)
downloadcpython-4ef48a6f4469424629ccae34422086ed4c6fd635.tar.gz
PEP-8-ify r73389.
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r--Lib/doctest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 3d053d9bfd..b95566f6c6 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -821,7 +821,8 @@ class DocTestFinder:
# (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