#7907: fix wrong function name in doc. Patch by Brian Curtin.
diff --git a/Doc/library/_winreg.rst b/Doc/library/_winreg.rst
index c003fe2..2a4d396 100644
--- a/Doc/library/_winreg.rst
+++ b/Doc/library/_winreg.rst
@@ -376,7 +376,7 @@
key. The key identified by the key parameter must have been opened with
:const:`KEY_SET_VALUE` access.
- To open the key, use the :func:`CreateKeyEx` or :func:`OpenKey` methods.
+ To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods.
Value lengths are limited by available memory. Long values (more than 2048
bytes) should be stored as files with the filenames stored in the configuration