Skip to content

Commit

Permalink
Python: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yoff committed Oct 26, 2023
1 parent a411753 commit 50041f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ql/lib/semmle/python/Module.qll
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ private predicate isNameSpacePackage(Folder f, string name) {
.getName()
.regexpReplaceAll("\\..*", "") and
name != "" and
// no siblibling regular package
// no sibling module
// no sibling regular package
// and no sibling module
not exists(Folder sibling | sibling.getParent() = f.getParent() |
isRegularPackage(sibling.getFolder(name), name)
or
Expand Down

0 comments on commit 50041f0

Please sign in to comment.