Skip to content

Commit 25e39bb

Browse files
committed
[py] Fix equality check
1 parent 90f9384 commit 25e39bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/generate_api_module_listing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def find_modules(package_name):
8282
)
8383
for module in modules:
8484
if base_module in module:
85-
if len(module.split(".")) - len(base_module.split(".")) <= 1:
85+
if len(module.split(".")) - len(base_module.split(".")) == 1:
8686
f.write(f" {module}\n")
8787
f.write(
8888
"""

0 commit comments

Comments
 (0)