Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f759d8

Browse files
committed
Correct erroneous parenthesis placement in the delta from 1.63 to 1.64.
1 parent 9482d25 commit 4f759d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/pydoc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,8 @@ def index(self, dir, shadowed=None):
823823

824824
def found(name, ispackage,
825825
modpkgs=modpkgs, shadowed=shadowed, seen=seen):
826-
if not name in seen:
827-
modpkgs.append((name, '', ispackage, name)) in shadowed
826+
if name not in seen:
827+
modpkgs.append((name, '', ispackage, name in shadowed))
828828
seen[name] = 1
829829
shadowed[name] = 1
830830

0 commit comments

Comments
 (0)