Skip to content

Commit 4d92225

Browse files
authored
Merge branch 'main' into fix-gh-151949-lzma-sphinx-warnings
2 parents 6d053c8 + e260051 commit 4d92225

2 files changed

Lines changed: 293 additions & 139 deletions

File tree

Lib/ctypes/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ def _process_struct(decorated_class, /, *, align, layout, endian, pack):
532532
else:
533533
field.append(hint)
534534

535-
fields.append(field)
535+
# _fields_ is a list of tuples
536+
fields.append(tuple(field))
536537

537538
if endian == 'big':
538539
endian_class = BigEndianStructure

0 commit comments

Comments
 (0)