mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-03-28 08:01:27 +00:00
Add remaining docstrings to complete documentation coverage
Co-authored-by: varun-r-mallya <100590632+varun-r-mallya@users.noreply.github.com>
This commit is contained in:
@ -41,6 +41,7 @@ def section(name: str):
|
||||
A decorator function that marks the function with the section name
|
||||
"""
|
||||
def wrapper(fn):
|
||||
"""Decorator that sets the section name on the function."""
|
||||
fn._section = name
|
||||
return fn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user