File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ PyDoc_STRVAR(module_doc,
5353"CreateKey() - Creates the specified key, or opens it if it already exists.\n"
5454"DeleteKey() - Deletes the specified key.\n"
5555"DeleteValue() - Removes a named value from the specified registry key.\n"
56+ "DeleteTree() - Deletes the specified key and all its subkeys and values recursively.\n"
5657"EnumKey() - Enumerates subkeys of the specified open registry key.\n"
5758"EnumValue() - Enumerates values of the specified open registry key.\n"
5859"ExpandEnvironmentStrings() - Expand the env strings in a REG_EXPAND_SZ\n"
@@ -103,7 +104,9 @@ PyDoc_STRVAR(PyHKEY_doc,
103104"\n"
104105"Operations:\n"
105106"__bool__ - Handles with an open object return true, otherwise false.\n"
106- "__int__ - Converting a handle to an integer returns the Win32 handle." );
107+ "__int__ - Converting a handle to an integer returns the Win32 handle.\n"
108+ "__enter__, __exit__ - Context manager support for 'with' statement,\n"
109+ "automatically closes handle." );
107110
108111
109112
You can’t perform that action at this time.
0 commit comments