https://github.com/python/cpython/commit/487cf3c1702836dfce0025208b989853681d2cd9
commit: 487cf3c1702836dfce0025208b989853681d2cd9
branch: main
author: Serhiy Storchaka <storch...@gmail.com>
committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com>
date: 2025-04-09T19:10:02+01:00
summary:

gh-132305: Make Argument Clinic code compatible with Python 3.10 (#132306)

files:
M Modules/_ctypes/cfield.c

diff --git a/Modules/_ctypes/cfield.c b/Modules/_ctypes/cfield.c
index fe0839a809f8db..056e6dfd883a56 100644
--- a/Modules/_ctypes/cfield.c
+++ b/Modules/_ctypes/cfield.c
@@ -1480,7 +1480,7 @@ for nbytes in 8, 16, 32, 64:
             f'{sgn}{nbytes}_get_sw',
         ]
         print(f'    formattable.fmt_{sgn}{nbytes} = (struct fielddesc){{')
-        print(f'            {', '.join(parts)} }};')
+        print(f'            {", ".join(parts)} }};')
 [python start generated code]*/
     formattable.fmt_i8 = (struct fielddesc){
             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:
             0, &ffi_type_sint64, i64_set, i64_get, i64_set_sw, i64_get_sw };
     formattable.fmt_u64 = (struct fielddesc){
             0, &ffi_type_uint64, u64_set, u64_get, u64_set_sw, u64_get_sw };
-/*[python end generated code: output=16806fe0ca3a9c4c input=850b8dd6388b1b10]*/
+/*[python end generated code: output=16806fe0ca3a9c4c input=96348a06e575f801]*/
 
 
     /* Native C integers.

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to