From 6881d2e9604f8fdf6d08c0648bc7c4802967f496 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Oct 2025 17:30:03 +0000 Subject: [PATCH] Complete documentation coverage: add final module docstrings Co-authored-by: varun-r-mallya <100590632+varun-r-mallya@users.noreply.github.com> --- pythonbpf/debuginfo/dwarf_constants.py | 6 ++++++ pythonbpf/functions/return_utils.py | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/pythonbpf/debuginfo/dwarf_constants.py b/pythonbpf/debuginfo/dwarf_constants.py index 0064afb..8bdbdf4 100644 --- a/pythonbpf/debuginfo/dwarf_constants.py +++ b/pythonbpf/debuginfo/dwarf_constants.py @@ -1,3 +1,9 @@ +""" +DWARF debugging format constants. + +Generated constants from dwarf.h for use in debug information generation. +""" + # generated constants from dwarf.h DW_UT_compile = 0x01 diff --git a/pythonbpf/functions/return_utils.py b/pythonbpf/functions/return_utils.py index c69e416..9fe670a 100644 --- a/pythonbpf/functions/return_utils.py +++ b/pythonbpf/functions/return_utils.py @@ -1,3 +1,10 @@ +""" +Utility functions for handling return statements in BPF functions. + +Provides handlers for different types of returns including XDP actions, +None returns, and standard returns. +""" + import logging import ast