Skip to content

Commit 9ff3322

Browse files
committed
docs: fix type hints misconception in quickstart
1 parent 2e95b77 commit 9ff3322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def xdp_pass(ctx: c_void_p) -> c_int64:
198198
## Best Practices
199199

200200
1. **Always include a LICENSE** - Required by the kernel
201-
2. **Use type hints** - Helps PythonBPF generate correct code
201+
2. **Use type hints** - Required by PythonBPF to generate correct code
202202
3. **Return the correct type** - Match the expected return type for your program type
203203
4. **Test incrementally** - Start simple and add complexity gradually
204204
5. **Check kernel logs** - Use `dmesg` to see BPF verifier messages if loading fails

0 commit comments

Comments
 (0)