Update Doc/library/winreg.rst

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
This commit is contained in:
Kevin Wojniak 2020-10-17 21:06:41 -07:00 committed by GitHub
parent 47cde3902b
commit d335efec97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -443,7 +443,7 @@ This module offers the following functions:
:const:`REG_SZ`, meaning only strings are supported. Use the :func:`SetValueEx` :const:`REG_SZ`, meaning only strings are supported. Use the :func:`SetValueEx`
function for support for other data types. function for support for other data types.
*value* is a string or integer that specifies the new value. *value* is a string that specifies the new value.
If the key specified by the *sub_key* parameter does not exist, the SetValue If the key specified by the *sub_key* parameter does not exist, the SetValue
function creates it. function creates it.
@ -802,4 +802,3 @@ integer handle, and also disconnect the Windows handle from the handle object.
will automatically close *key* when control leaves the :keyword:`with` block. will automatically close *key* when control leaves the :keyword:`with` block.