summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-02-06 16:23:01 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-02-06 16:23:01 (GMT)
commitcc1fccbc1c73937ce8b45ba673c63d0230ee4fb5 (patch)
treeb7bbb24c51fe0d5eeb98105a57daa485cd3aaf12 /Lib
parent656d4519b5a002d716ae2081d126a060fcb12581 (diff)
downloadcpython-cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5.zip
cpython-cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5.tar.gz
cpython-cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5.tar.bz2
No need for a continuation line.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pickle.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 876c81b..1d14ed3 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -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__'