]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct erroneous parenthesis placement in the delta from 1.63 to 1.64.
authorRaymond Hettinger <python@rcn.com>
Sat, 2 Nov 2002 02:02:46 +0000 (02:02 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 2 Nov 2002 02:02:46 +0000 (02:02 +0000)
Lib/pydoc.py

index 9e8351e04be39817c00640bbbf03e27291380cff..fe663346e1cb6cdbdb37b88bc27411e9293e198f 100755 (executable)
@@ -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