summaryrefslogtreecommitdiffstats
path: root/PC/clinic
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-08-03 21:52:15 (GMT)
committerGitHub <noreply@github.com>2022-08-03 21:52:15 (GMT)
commit76d29a8ae81452291539ae39e791b0446e56d31b (patch)
tree6f7266da899e71770c6244c58b33efe246327075 /PC/clinic
parentf6c46b4852cbf351e3aaa67ce9edcfb17803562e (diff)
downloadcpython-76d29a8ae81452291539ae39e791b0446e56d31b.zip
cpython-76d29a8ae81452291539ae39e791b0446e56d31b.tar.gz
cpython-76d29a8ae81452291539ae39e791b0446e56d31b.tar.bz2
gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic function load (GH-95521)
Co-authored-by: Derek Kim <ddkim1024@gmail.com>
Diffstat (limited to 'PC/clinic')
-rw-r--r--PC/clinic/winreg.c.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/PC/clinic/winreg.c.h b/PC/clinic/winreg.c.h
index 183301f..3051bcc 100644
--- a/PC/clinic/winreg.c.h
+++ b/PC/clinic/winreg.c.h
@@ -390,7 +390,7 @@ PyDoc_STRVAR(winreg_DeleteKeyEx__doc__,
" reserved=0)\n"
"--\n"
"\n"
-"Deletes the specified key (64-bit OS only).\n"
+"Deletes the specified key (intended for 64-bit OS).\n"
"\n"
" key\n"
" An already open key, or any one of the predefined HKEY_* constants.\n"
@@ -404,6 +404,9 @@ PyDoc_STRVAR(winreg_DeleteKeyEx__doc__,
" reserved\n"
" A reserved integer, and must be zero. Default is zero.\n"
"\n"
+"While this function is intended to be used for 64-bit OS, it is also\n"
+" available on 32-bit systems.\n"
+"\n"
"This method can not delete keys with subkeys.\n"
"\n"
"If the function succeeds, the entire key, including all of its values,\n"
@@ -1346,4 +1349,4 @@ winreg_QueryReflectionKey(PyObject *module, PyObject *arg)
exit:
return return_value;
}
-/*[clinic end generated code: output=497a2e804821d5c9 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=8ce6fb3b6cd46242 input=a9049054013a1b77]*/