Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6b879fa4
Commit
6b879fa4
authored
Oct 29, 2012
by
Brian Curtin
Browse files
Options
Browse Files
Download
Plain Diff
Merge 3.2
parents
4648b477
e9aeca7c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
122 additions
and
92 deletions
+122
-92
Doc/library/winreg.rst
Doc/library/winreg.rst
+10
-15
Misc/NEWS
Misc/NEWS
+3
-0
PC/winreg.c
PC/winreg.c
+109
-77
No files found.
Doc/library/winreg.rst
View file @
6b879fa4
...
...
@@ -68,7 +68,7 @@ This module offers the following functions:
alias of :exc:`OSError`.
.. function:: CreateKeyEx(key, sub_key, reserved=0, access=KEY_
ALL_ACCESS
)
.. function:: CreateKeyEx(key, sub_key, reserved=0, access=KEY_
WRITE
)
Creates or opens the specified key, returning a
:ref:`handle object <handle-object>`.
...
...
@@ -78,10 +78,10 @@ This module offers the following functions:
*sub_key* is a string that names the key this method opens or creates.
*res* is a reserved integer, and must be zero. The default is zero.
*res
erved
* is a reserved integer, and must be zero. The default is zero.
*
sam
* is an integer that specifies an access mask that describes the desired
security access for the key. Default is :const:`KEY_
ALL_ACCESS
`. See
*
access
* is an integer that specifies an access mask that describes the desired
security access for the key. Default is :const:`KEY_
WRITE
`. See
:ref:`Access Rights <access-rights>` for other allowed values.
If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
...
...
@@ -119,7 +119,7 @@ This module offers the following functions:
alias of :exc:`OSError`.
.. function:: DeleteKeyEx(key, sub_key, access=KEY_
ALL_ACCESS
, reserved=0)
.. function:: DeleteKeyEx(key, sub_key, access=KEY_
WOW64_64KEY
, reserved=0)
Deletes the specified key.
...
...
@@ -136,9 +136,9 @@ This module offers the following functions:
*key* parameter. This value must not be ``None``, and the key may not have
subkeys.
*res* is a reserved integer, and must be zero. The default is zero.
*res
erved
* is a reserved integer, and must be zero. The default is zero.
*
sam
* is an integer that specifies an access mask that describes the desired
*
access
* is an integer that specifies an access mask that describes the desired
security access for the key. Default is :const:`KEY_ALL_ACCESS`. See
:ref:`Access Rights <access-rights>` for other allowed values.
...
...
@@ -272,6 +272,7 @@ This module offers the following functions:
.. function:: OpenKey(key, sub_key, reserved=0, access=KEY_READ)
OpenKeyEx(key, sub_key, reserved=0, access=KEY_READ)
Opens the specified key, returning a :ref:`handle object <handle-object>`.
...
...
@@ -298,12 +299,6 @@ This module offers the following functions:
alias of :exc:`OSError`.
.. function:: OpenKeyEx()
The functionality of :func:`OpenKeyEx` is provided via :func:`OpenKey`,
by the use of default arguments.
.. function:: QueryInfoKey(key)
Returns information about a key, as a tuple.
...
...
@@ -427,11 +422,11 @@ This module offers the following functions:
*value_name* is a string that names the subkey with which the value is
associated.
*reserved* can be anything -- zero is always passed to the API.
*type* is an integer that specifies the type of the data. See
:ref:`Value Types <value-types>` for the available types.
*reserved* can be anything -- zero is always passed to the API.
*value* is a string that specifies the new value.
This method can also set additional value and type information for the specified
...
...
Misc/NEWS
View file @
6b879fa4
...
...
@@ -12,6 +12,9 @@ What's New in Python 3.3.1?
Core and Builtins
-----------------
- Issue #16197: Update winreg docstrings and documentation to match code.
Patch by Zachary Ware.
- Issue #16241: Document -X faulthandler command line option.
Patch by Marek Šuppa.
...
...
PC/winreg.c
View file @
6b879fa4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment