File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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
956959Creates 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
14181422Opens the specified key.
14191423
You can’t perform that action at this time.
0 commit comments