mirror of
https://github.com/python/cpython.git
synced 2026-04-13 23:31:02 +00:00
gh-145633: Remove remnants of the "unknown_format" (floats) in the struct module (#146189)
This commit is contained in:
parent
f4d1be46b4
commit
f2fcc49467
1 changed files with 0 additions and 4 deletions
|
|
@ -1536,10 +1536,6 @@ init_endian_tables(void *Py_UNUSED(arg))
|
|||
size matches */
|
||||
if (ptr->size != native->size)
|
||||
break;
|
||||
/* Skip float and double, could be
|
||||
"unknown" float format */
|
||||
if (ptr->format == 'd' || ptr->format == 'f')
|
||||
break;
|
||||
/* Skip _Bool, semantics are different for standard size */
|
||||
if (ptr->format == '?')
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue