Skip to content

Commit cf5faaa

Browse files
remove pointless type annotation
Signed-off-by: varun-r-mallya <[email protected]>
1 parent 3c956e6 commit cf5faaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbpf/functions_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def func_proc(tree, module, chunks, map_sym_tab, structs_sym_tab):
608608
)
609609

610610

611-
def infer_return_type(func_node: ast.FunctionDef) -> str | None | Any:
611+
def infer_return_type(func_node: ast.FunctionDef):
612612
if not isinstance(func_node, (ast.FunctionDef, ast.AsyncFunctionDef)):
613613
raise TypeError("Expected ast.FunctionDef")
614614
if func_node.returns is not None:

0 commit comments

Comments
 (0)