From 9ff33229a0cb82e4b02faea793a4f2bb00f79c10 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Sun, 25 Jan 2026 13:25:45 +0530 Subject: [PATCH] docs: fix type hints misconception in quickstart --- docs/getting-started/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 1db2d71..afd7595 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -198,7 +198,7 @@ def xdp_pass(ctx: c_void_p) -> c_int64: ## Best Practices 1. **Always include a LICENSE** - Required by the kernel -2. **Use type hints** - Helps PythonBPF generate correct code +2. **Use type hints** - Required by PythonBPF to generate correct code 3. **Return the correct type** - Match the expected return type for your program type 4. **Test incrementally** - Start simple and add complexity gradually 5. **Check kernel logs** - Use `dmesg` to see BPF verifier messages if loading fails