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. -