From 778b1efd84eb516a607d27e1e5d79d0aa6580189 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Tue, 25 Feb 2025 14:02:49 -0500 Subject: [PATCH] PyAPI Docs: Properly document byte string types Fixes blender/blender-manual#105044 --- scripts/modules/rna_info.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/modules/rna_info.py b/scripts/modules/rna_info.py index 65d906df6c7..7aac9bf3a72 100644 --- a/scripts/modules/rna_info.py +++ b/scripts/modules/rna_info.py @@ -395,6 +395,8 @@ class InfoPropertyRNA: type_str = "" if self.fixed_type is None: type_str += self.type + if self.type == "string" and self.subtype == "BYTE_STRING": + type_str = "byte string" if self.array_length: if self.array_dimensions[1] != 0: dimension_str = " of {:s} items".format(