summaryrefslogtreecommitdiffstats
path: root/PC/clinic/winreg.c.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-04 13:43:30 (GMT)
committerGitHub <noreply@github.com>2019-08-04 13:43:30 (GMT)
commitdd5f8abb54923bf2efea51b7a553ca1fca9cad68 (patch)
treeca710f12dcefbac80e488b6f6e49e1b96ed78331 /PC/clinic/winreg.c.h
parentdde944f9df8dea28c07935ebd6de06db7e575c12 (diff)
downloadcpython-dd5f8abb54923bf2efea51b7a553ca1fca9cad68.zip
cpython-dd5f8abb54923bf2efea51b7a553ca1fca9cad68.tar.gz
cpython-dd5f8abb54923bf2efea51b7a553ca1fca9cad68.tar.bz2
bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in docs. (GH-15062)
(cherry picked from commit ed5e8e06cbf766e89d6c58a882ee024abb5b2ed7) Co-authored-by: David H <dheiberg@mozilla.com>
Diffstat (limited to 'PC/clinic/winreg.c.h')
-rw-r--r--PC/clinic/winreg.c.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/PC/clinic/winreg.c.h b/PC/clinic/winreg.c.h
index 5021025..b7af185 100644
--- a/PC/clinic/winreg.c.h
+++ b/PC/clinic/winreg.c.h
@@ -1029,7 +1029,7 @@ PyDoc_STRVAR(winreg_DisableReflectionKey__doc__,
" key\n"
" An already open key, or any one of the predefined HKEY_* constants.\n"
"\n"
-"Will generally raise NotImplemented if executed on a 32bit OS.\n"
+"Will generally raise NotImplementedError if executed on a 32bit OS.\n"
"\n"
"If the key is not on the reflection list, the function succeeds but has\n"
"no effect. Disabling reflection for a key does not affect reflection\n"
@@ -1065,7 +1065,7 @@ PyDoc_STRVAR(winreg_EnableReflectionKey__doc__,
" key\n"
" An already open key, or any one of the predefined HKEY_* constants.\n"
"\n"
-"Will generally raise NotImplemented if executed on a 32bit OS.\n"
+"Will generally raise NotImplementedError if executed on a 32bit OS.\n"
"Restoring reflection for a key does not affect reflection of any\n"
"subkeys.");
@@ -1099,7 +1099,7 @@ PyDoc_STRVAR(winreg_QueryReflectionKey__doc__,
" key\n"
" An already open key, or any one of the predefined HKEY_* constants.\n"
"\n"
-"Will generally raise NotImplemented if executed on a 32bit OS.");
+"Will generally raise NotImplementedError if executed on a 32bit OS.");
#define WINREG_QUERYREFLECTIONKEY_METHODDEF \
{"QueryReflectionKey", (PyCFunction)winreg_QueryReflectionKey, METH_O, winreg_QueryReflectionKey__doc__},
@@ -1121,4 +1121,4 @@ winreg_QueryReflectionKey(PyObject *module, PyObject *arg)
exit:
return return_value;
}
-/*[clinic end generated code: output=1204d20c543b5b4a input=a9049054013a1b77]*/
+/*[clinic end generated code: output=015afbbd690eb59d input=a9049054013a1b77]*/