diff options
author | Raymond Hettinger <python@rcn.com> | 2002-11-02 02:02:46 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-11-02 02:02:46 (GMT) |
commit | 4f759d8504d1bd001772c3919f099696c729dc6c (patch) | |
tree | ed1448f12962ce01c554340853bb232393743939 /Lib/pydoc.py | |
parent | 9482d2591a89ebd5f5c79fa22dffe8b9db8a45d9 (diff) | |
download | cpython-4f759d8504d1bd001772c3919f099696c729dc6c.zip cpython-4f759d8504d1bd001772c3919f099696c729dc6c.tar.gz cpython-4f759d8504d1bd001772c3919f099696c729dc6c.tar.bz2 |
Correct erroneous parenthesis placement in the delta from 1.63 to 1.64.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 9e8351e..fe66334 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -823,8 +823,8 @@ TT { font-family: lucidatypewriter, lucida console, courier } def found(name, ispackage, modpkgs=modpkgs, shadowed=shadowed, seen=seen): - if not name in seen: - modpkgs.append((name, '', ispackage, name)) in shadowed + if name not in seen: + modpkgs.append((name, '', ispackage, name in shadowed)) seen[name] = 1 shadowed[name] = 1 |