mirror of https://github.com/python/cpython
PEP-8-ify r73389.
This commit is contained in:
parent
b49c70c7d3
commit
765b976a81
|
@ -821,7 +821,8 @@ class DocTestFinder:
|
||||||
# (see __patched_linecache_getlines).
|
# (see __patched_linecache_getlines).
|
||||||
file = inspect.getfile(obj)
|
file = inspect.getfile(obj)
|
||||||
if not file[0]+file[-2:] == '<]>': file = None
|
if not file[0]+file[-2:] == '<]>': file = None
|
||||||
if file is None: source_lines = None
|
if file is None:
|
||||||
|
source_lines = None
|
||||||
else:
|
else:
|
||||||
if module is not None:
|
if module is not None:
|
||||||
# Supply the module globals in case the module was
|
# Supply the module globals in case the module was
|
||||||
|
|
Loading…
Reference in New Issue