summaryrefslogtreecommitdiffstats
path: root/PC/winreg.c
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-07-04 13:10:10 (GMT)
committerGitHub <noreply@github.com>2022-07-04 13:10:10 (GMT)
commit9b50f76fcdb48cae10fe954ab6f659a4ceff4c0c (patch)
tree3c7decceaab8073af50fdc7099db44d39326e683 /PC/winreg.c
parent21f6b4d7838fa16341faf735456b05f8ede9e4f9 (diff)
downloadcpython-9b50f76fcdb48cae10fe954ab6f659a4ceff4c0c.zip
cpython-9b50f76fcdb48cae10fe954ab6f659a4ceff4c0c.tar.gz
cpython-9b50f76fcdb48cae10fe954ab6f659a4ceff4c0c.tar.bz2
gh-94512: Fix forced arg format in AC-processed winreg (GH-94513)
Diffstat (limited to 'PC/winreg.c')
-rw-r--r--PC/winreg.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/PC/winreg.c b/PC/winreg.c
index 92d05f5..b326c3d 100644
--- a/PC/winreg.c
+++ b/PC/winreg.c
@@ -217,13 +217,11 @@ class winreg.HKEYType "PyHKEYObject *" "&PyHKEY_Type"
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=4c964eba3bf914d6]*/
/*[python input]
-class REGSAM_converter(CConverter):
+class REGSAM_converter(int_converter):
type = 'REGSAM'
- format_unit = 'i'
-class DWORD_converter(CConverter):
+class DWORD_converter(unsigned_long_converter):
type = 'DWORD'
- format_unit = 'k'
class HKEY_converter(CConverter):
type = 'HKEY'
@@ -249,7 +247,7 @@ class self_return_converter(CReturnConverter):
data.return_conversion.append(
'return_value = (PyObject *)_return_value;\n')
[python start generated code]*/
-/*[python end generated code: output=da39a3ee5e6b4b0d input=22f7aedc6d68e80e]*/
+/*[python end generated code: output=da39a3ee5e6b4b0d input=2ebb7a4922d408d6]*/
#include "clinic/winreg.c.h"