We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a411753 commit 50041f0Copy full SHA for 50041f0
python/ql/lib/semmle/python/Module.qll
@@ -261,8 +261,8 @@ private predicate isNameSpacePackage(Folder f, string name) {
261
.getName()
262
.regexpReplaceAll("\\..*", "") and
263
name != "" and
264
- // no siblibling regular package
265
- // no sibling module
+ // no sibling regular package
+ // and no sibling module
266
not exists(Folder sibling | sibling.getParent() = f.getParent() |
267
isRegularPackage(sibling.getFolder(name), name)
268
or
0 commit comments