Brian Curtin <cur...@acm.org> added the comment: Attached is a better patch which, I think, uses better names.
CreateKeyEx, OpenKeyEx, and DeleteKeyEx (x64 only) all take named arguments. key, sub_key, reserved, and access are the names of the arguments. The tests run Create and Open regardless, but use DeleteKey or DeleteKeyEx depending on architecture. I think the docs correctly denote what was changed here. Adding Amaury since he suggested these name changes on #5774. ---------- nosy: +amaury.forgeotdarc title: Allow some winreg functions to accept keyword arguments -> Allow some winreg functions to accept named arguments Added file: http://bugs.python.org/file18639/issue8521.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8521> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com