From d335efec97fc375fd75b53c3ba030ffdb21800c9 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Sat, 17 Oct 2020 21:06:41 -0700 Subject: [PATCH] Update Doc/library/winreg.rst Co-authored-by: Steve Dower --- Doc/library/winreg.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/library/winreg.rst b/Doc/library/winreg.rst index b048228c4ee..d85084fdef3 100644 --- a/Doc/library/winreg.rst +++ b/Doc/library/winreg.rst @@ -443,7 +443,7 @@ This module offers the following functions: :const:`REG_SZ`, meaning only strings are supported. Use the :func:`SetValueEx` 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 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. -