Docs: Stop calling LICENSE required in the user guide overview

The overview example still labelled the LICENSE declaration as required,
which contradicts the GPL default documented in decorators.md and the
quickstart.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pragyansh Chaturvedi
2026-10-09 04:26:27 +05:30
parent 4d2bf6842c
commit 47586a49ad

View File

@ -69,7 +69,7 @@ def my_function(ctx: c_void_p) -> c_int64:
# BPF logic here # BPF logic here
return 0 return 0
# License (required) # License (optional: without one, PythonBPF uses "GPL" and logs a warning)
@bpf @bpf
@bpfglobal @bpfglobal
def LICENSE() -> str: def LICENSE() -> str: