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 @@ -51,6 +51,7 @@ PyDoc_STRVAR(module_doc,
5151"CreateKey() - Creates the specified key, or opens it if it already exists.\n"
5252"DeleteKey() - Deletes the specified key.\n"
5353"DeleteValue() - Removes a named value from the specified registry key.\n"
54+ "DeleteTree() - Deletes the specified key and all its subkeys and values recursively.\n"
5455"EnumKey() - Enumerates subkeys of the specified open registry key.\n"
5556"EnumValue() - Enumerates values of the specified open registry key.\n"
5657"ExpandEnvironmentStrings() - Expand the env strings in a REG_EXPAND_SZ\n"
@@ -101,7 +102,9 @@ PyDoc_STRVAR(PyHKEY_doc,
101102"\n"
102103"Operations:\n"
103104"__bool__ - Handles with an open object return true, otherwise false.\n"
104- "__int__ - Converting a handle to an integer returns the Win32 handle." );
105+ "__int__ - Converting a handle to an integer returns the Win32 handle.\n"
106+ "__enter__, __exit__ - Context manager support for 'with' statement,\n"
107+ "automatically closes handle." );
105108
106109
107110
You can’t perform that action at this time.
0 commit comments