diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-24 17:10:22 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-24 17:10:22 (GMT) |
commit | 5fa9fb40621b3963beef9d58388bb0616e0d8de9 (patch) | |
tree | 54c6971e37b3eba17388a587daf3cd263de3cf77 | |
parent | 5183ebdaa7ab39b39281231208d189bf8f337088 (diff) | |
download | cpython-5fa9fb40621b3963beef9d58388bb0616e0d8de9.zip cpython-5fa9fb40621b3963beef9d58388bb0616e0d8de9.tar.gz cpython-5fa9fb40621b3963beef9d58388bb0616e0d8de9.tar.bz2 |
Fix #5774. Some _winreg functions are documented as taking kwargs but don't.
-rw-r--r-- | Doc/library/_winreg.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/_winreg.rst b/Doc/library/_winreg.rst index 6fa2053..a140181 100644 --- a/Doc/library/_winreg.rst +++ b/Doc/library/_winreg.rst @@ -69,7 +69,7 @@ This module offers the following functions: :exc:`WindowsError` exception is raised. -.. function:: CreateKeyEx(key, sub_key, res=0, sam=KEY_ALL_ACCESS) +.. function:: CreateKeyEx(key, sub_key[, res[, sam]]) Creates or opens the specified key, returning a :ref:`handle object <handle-object>`. @@ -111,7 +111,7 @@ This module offers the following functions: If the method fails, a :exc:`WindowsError` exception is raised. -.. function:: DeleteKeyEx(key, sub_key, sam=KEY_WOW64_64KEY, res=0) +.. function:: DeleteKeyEx(key, sub_key[, sam[, res]]) Deletes the specified key. @@ -250,7 +250,7 @@ This module offers the following functions: :const:`HKEY_LOCAL_MACHINE` tree. This may or may not be true. -.. function:: OpenKey(key, sub_key, res=0, sam=KEY_READ) +.. function:: OpenKey(key, sub_key[, res[, sam]]) Opens the specified key, returning a :ref:`handle object <handle-object>`. |