Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6000087 commit 472fc84Copy full SHA for 472fc84
1 file changed
Modules/_struct.c
@@ -2407,6 +2407,9 @@ PyInit__struct(void)
2407
"unknown" float format */
2408
if (ptr->format == 'd' || ptr->format == 'f')
2409
break;
2410
+ /* Skip _Bool, semantics are different for standard size */
2411
+ if (ptr->format == '?')
2412
+ break;
2413
ptr->pack = native->pack;
2414
ptr->unpack = native->unpack;
2415
0 commit comments