Skip to content

Commit c7ad3c5

Browse files
committed
gh-145633: remove remnants of the "unknown_format" (floats) in the struct module
1 parent 52c0186 commit c7ad3c5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Modules/_struct.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,10 +1536,6 @@ init_endian_tables(void *Py_UNUSED(arg))
15361536
size matches */
15371537
if (ptr->size != native->size)
15381538
break;
1539-
/* Skip float and double, could be
1540-
"unknown" float format */
1541-
if (ptr->format == 'd' || ptr->format == 'f')
1542-
break;
15431539
/* Skip _Bool, semantics are different for standard size */
15441540
if (ptr->format == '?')
15451541
break;

0 commit comments

Comments
 (0)