mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Fix #5774. Change doc to reflect that some functions have defaults but not kwargs.
This commit is contained in:
parent
c80c93f46e
commit
d85594869d
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ This module offers the following functions:
|
||||||
:exc:`WindowsError` exception is raised.
|
: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`
|
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.
|
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.
|
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.
|
: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`
|
Opens the specified key, returning a :dfn:`handle object`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue