Skip to content

Commit 005d8f2

Browse files
committed
chore: wip
1 parent 980f464 commit 005d8f2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/array_api/cli/_main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ def generate(body_module: dict[str, list[ast.stmt]], out_path: Path) -> None:
176176
pass
177177
# out.body.insert(0, b)
178178
elif isinstance(b, ast.FunctionDef):
179-
if b.name.startswith("_"):
179+
# if b.name.startswith("_"):
180+
# continue
181+
if submodule == "info":
180182
continue
181183
data = _function_to_protocol(b, typevars)
182184
module_attributes[submodule].append(ModuleAttributes(b.name, data.name, None, data.typevars_used))

0 commit comments

Comments
 (0)