[Python-checkins] r80447 - python/branches/py3k/Doc/library/winreg.rst

brian.curtin python-checkins at python.org
Sat Apr 24 19:21:31 CEST 2010


Author: brian.curtin
Date: Sat Apr 24 19:21:31 2010
New Revision: 80447

Log:
Fix #5774. Change doc to reflect that some functions have defaults but not kwargs.


Modified:
   python/branches/py3k/Doc/library/winreg.rst

Modified: python/branches/py3k/Doc/library/winreg.rst
==============================================================================
--- python/branches/py3k/Doc/library/winreg.rst	(original)
+++ python/branches/py3k/Doc/library/winreg.rst	Sat Apr 24 19:21:31 2010
@@ -61,7 +61,7 @@
    :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 @@
    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 @@
    :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`
 


More information about the Python-checkins mailing list