diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-02-06 16:23:01 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-02-06 16:23:01 (GMT) |
commit | cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5 (patch) | |
tree | b7bbb24c51fe0d5eeb98105a57daa485cd3aaf12 /Lib/pickle.py | |
parent | 656d4519b5a002d716ae2081d126a060fcb12581 (diff) | |
download | cpython-cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5.zip cpython-cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5.tar.gz cpython-cc1fccbc1c73937ce8b45ba673c63d0230ee4fb5.tar.bz2 |
No need for a continuation line.
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r-- | Lib/pickle.py | 3 |
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__' |