Skip to content

Commit d6251e0

Browse files
committed
Add documents
1 parent 47ea0ba commit d6251e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PC/winreg.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,10 @@ winreg.CreateKeyEx -> HKEY
951951
An integer that specifies an access mask that describes the
952952
desired security access for the key. Default is KEY_WRITE.
953953
options: int = 0
954+
Can be one of the REG_OPTION_* constants.
954955
create_only: bool = False
956+
When set to True, raise FileExistsError if the key is already exists.
957+
Default is False.
955958
956959
Creates or opens the specified key.
957960
@@ -1414,6 +1417,7 @@ winreg.OpenKey -> HKEY
14141417
An integer that specifies an access mask that describes the desired
14151418
security access for the key. Default is KEY_READ.
14161419
options: int = 0
1420+
Can be one of the REG_OPTION_* constants.
14171421
14181422
Opens the specified key.
14191423

0 commit comments

Comments
 (0)