Commit 765b976a authored by R. David Murray's avatar R. David Murray

PEP-8-ify r73389.

parent b49c70c7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment