No need for a continuation line.

This commit is contained in:
Jeremy Hylton 2003-02-06 16:23:01 +00:00
parent 656d4519b5
commit cc1fccbc1c
1 changed files with 1 additions and 2 deletions

View File

@ -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__'