diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-24 17:21:31 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-24 17:21:31 (GMT) |
commit | d85594869de9b6c10c02b413eec00976e6f19622 (patch) | |
tree | 9c1465a6b4bd0b42dc5e512c9a0231a466f4860b /Doc | |
parent | c80c93f46ed973ba28c67f4a2771418dbae93d85 (diff) | |
download | cpython-d85594869de9b6c10c02b413eec00976e6f19622.zip cpython-d85594869de9b6c10c02b413eec00976e6f19622.tar.gz cpython-d85594869de9b6c10c02b413eec00976e6f19622.tar.bz2 |
Fix #5774. Change doc to reflect that some functions have defaults but not kwargs.
Diffstat (limited to 'Doc')
-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 63d90fb..4df3a3c 100644 --- a/Doc/library/winreg.rst +++ b/Doc/library/winreg.rst @@ -61,7 +61,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 :dfn:`handle object` @@ -102,7 +102,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. @@ -239,7 +239,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 :dfn:`handle object` |