8000 gh-132305: Make Argument Clinic code compatible with Python 3.10 (#13… · python/cpython@487cf3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 487cf3c

Browse files
gh-132305: Make Argument Clinic code compatible with Python 3.10 (#132306)
1 parent 4a919dd commit 487cf3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_ctypes/cfield.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
14801480
f'{sgn}{nbytes}_get_sw',
14811481
]
14821482
print(f' formattable.fmt_{sgn}{nbytes} = (struct fielddesc){{')
1483-
print(f' {', '.join(parts)} }};')
1483+
print(f' {", ".join(parts)} }};')
14841484
[python start generated code]*/
14851485
formattable.fmt_i8 = (struct fielddesc){
14861486
0, &ffi_type_sint8, i8_set, i8_get, i8_set_sw, i8_get_sw };
@@ -1498,7 +1498,7 @@ for nbytes in 8, 16, 32, 64:
14981498
0, &ffi_type_sint64, i64_set, i64_get, i64_set_sw, i64_get_sw };
14991499
formattable.fmt_u64 = (struct fielddesc){
15001500
0, &ffi_type_uint64, u64_set, u64_get, u64_set_sw, u64_get_sw };
1501-
/*[python end generated code: output=16806fe0ca3a9c4c input=850b8dd6388b1b10]*/
1501+
/*[python end generated code: output=16806fe0ca3a9c4c input=96348a06e575f801]*/
15021502

15031503

15041504
/* Native C integers.

0 commit comments

Comments
 (0)
0