Commit e086cdb4 authored by Jeremy Hylton's avatar Jeremy Hylton

No need for a continuation line.

parent 2716400f
......@@ -942,8 +942,7 @@ def whichmodule(func, funcname):
for name, module in sys.modules.items():
if module is None:
continue # skip dummy package entries
if name != '__main__' and \
getattr(module, funcname, None) is func:
if name != '__main__' and getattr(module, funcname, None) is func:
break
else:
name = '__main__'
......
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