From 7bc711c296835f9757061a054ee06c33ebe426a2 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi <76248539+r41k0u@users.noreply.github.com> Date: Thu, 2 Oct 2025 05:01:32 +0530 Subject: [PATCH] Update pythonbpf/functions_pass.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pythonbpf/functions_pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonbpf/functions_pass.py b/pythonbpf/functions_pass.py index 7b3a95d..fc3ddc3 100644 --- a/pythonbpf/functions_pass.py +++ b/pythonbpf/functions_pass.py @@ -674,7 +674,7 @@ def infer_return_type(func_node: ast.FunctionDef): if found_type is None: found_type = t elif found_type != t: - raise ValueError(f"Conflicting return types:{found_type} vs {t}") + raise ValueError(f"Conflicting return types: {found_type} vs {t}") return found_type or "None"