summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorDavid H <dheiberg@mozilla.com>2019-08-05 09:19:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-08-05 09:19:26 (GMT)
commit35f9bccd8198330579ecb4b4c503062f8b5da130 (patch)
tree95dce213e37c2c61635255632a7c16581478ef32 /PC
parent53639dd55a0d5b3b7b4ef6ae839a98008f22e2d3 (diff)
downloadcpython-35f9bccd8198330579ecb4b4c503062f8b5da130.zip
cpython-35f9bccd8198330579ecb4b4c503062f8b5da130.tar.gz
cpython-35f9bccd8198330579ecb4b4c503062f8b5da130.tar.bz2
[2.7] bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in docs. (GH-15062). (GH-15133)
(cherry picked from commit ed5e8e06cbf766e89d6c58a882ee024abb5b2ed7) Co-authored-by: David H <dheiberg@mozilla.com>
Diffstat (limited to 'PC')
-rw-r--r--PC/_winreg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/_winreg.c b/PC/_winreg.c
index 3b887e0..e0fdff2 100644
--- a/PC/_winreg.c
+++ b/PC/_winreg.c
@@ -322,19 +322,19 @@ PyDoc_STRVAR(SetValueEx_doc,
PyDoc_STRVAR(DisableReflectionKey_doc,
"Disables registry reflection for 32-bit processes running on a 64-bit\n"
-"Operating System. Will generally raise NotImplemented if executed on\n"
+"Operating System. Will generally raise NotImplementedError if executed on\n"
"a 32-bit Operating System.\n"
"If the key is not on the reflection list, the function succeeds but has no effect.\n"
"Disabling reflection for a key does not affect reflection of any subkeys.");
PyDoc_STRVAR(EnableReflectionKey_doc,
"Restores registry reflection for the specified disabled key.\n"
-"Will generally raise NotImplemented if executed on a 32-bit Operating System.\n"
+"Will generally raise NotImplementedError if executed on a 32-bit Operating System.\n"
"Restoring reflection for a key does not affect reflection of any subkeys.");
PyDoc_STRVAR(QueryReflectionKey_doc,
"bool = QueryReflectionKey(hkey) - Determines the reflection state for the specified key.\n"
-"Will generally raise NotImplemented if executed on a 32-bit Operating System.\n");
+"Will generally raise NotImplementedError if executed on a 32-bit Operating System.\n");
/* PyHKEY docstrings */
PyDoc_STRVAR(PyHKEY_doc,