bpo-42018: winreg SetValue(Ex) should mention integer as an acceptable value

https://bugs.python.org/issue42018
This commit is contained in:
Kevin Wojniak 2020-10-12 09:23:51 -07:00 committed by GitHub
parent abe244c458
commit 47cde3902b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 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`
function for support for other data types.
*value* is a string that specifies the new value.
*value* is a string or integer that specifies the new value.
If the key specified by the *sub_key* parameter does not exist, the SetValue
function creates it.
@ -473,7 +473,7 @@ This module offers the following functions:
*type* is an integer that specifies the type of the data. See
:ref:`Value Types <value-types>` for the available types.
*value* is a string that specifies the new value.
*value* is a string or integer that specifies the new value.
This method can also set additional value and type information for the specified
key. The key identified by the key parameter must have been opened with