[api] Trim the encode helper comments

This commit is contained in:
J. Nick Koston
2026-09-07 10:48:18 +02:00
parent 490aca17e6
commit 8ec9305688
2 changed files with 8 additions and 19 deletions
+1 -4
View File
@@ -325,10 +325,7 @@ class TypeInfo(ABC):
)
def _encode_fixed32_with_precomputed_tag(self, value_expr: str) -> str | None:
"""Emit a fixed32 field through the shared tag+value writer when the tag is one byte.
Returns None for multi-byte tags, which go through the generic helper.
"""
"""Single-byte tag fixed32 write, or None for multi-byte tags."""
tag = self.calculate_tag()
if tag >= 128:
return None