[issue42018] winreg SetValue(Ex) should mention integer as an acceptable value
Kevin Wojniak
report at bugs.python.org
Mon Oct 12 12:21:08 EDT 2020
New submission from Kevin Wojniak <kwojniak at box.com>:
On https://docs.python.org/3/library/winreg.html
For SetValue and SetValueEx is says:
> value is a string that specifies the new value.
but value can also be an integer if the type is DWORD. Here's a test that shows that: https://github.com/python/cpython/blob/3.9/Lib/test/test_winreg.py#L339
Suggested update:
> value is a string or integer that specifies the new value.
----------
assignee: docs at python
components: Documentation
messages: 378508
nosy: docs at python, kwojniak_box
priority: normal
severity: normal
status: open
title: winreg SetValue(Ex) should mention integer as an acceptable value
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42018>
_______________________________________
More information about the Python-bugs-list
mailing list