Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit487cf3c

Browse files
gh-132305: Make Argument Clinic code compatible with Python 3.10 (#132306)
1 parent4a919dd commit487cf3c

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
@@ -1480,7 +1480,7 @@ for nbytes in 8, 16, 32, 64:
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= (structfielddesc){
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= (structfielddesc){
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)

[8]ページ先頭

©2009-2025 Movatter.jp