Fix #16197. Update docstrings and documentation to match winreg code.

Patch by Zachary Ware.
3 files changed