File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -753,9 +753,6 @@ Handle objects provide semantics for :meth:`~object.__bool__` -- thus ::
753753will print ``Yes `` if the handle is currently valid (has not been closed or
754754detached).
755755
756- The object also support comparison semantics, so handle objects will compare
757- true if they both reference the same underlying Windows handle value.
758-
759756Handle objects can be converted to an integer (e.g., using the built-in
760757:func: `int ` function), in which case the underlying Windows handle value is
761758returned. You can also use the :meth: `~PyHKEY.Detach ` method to return the
Original file line number Diff line number Diff line change @@ -101,8 +101,7 @@ PyDoc_STRVAR(PyHKEY_doc,
101101"\n"
102102"Operations:\n"
103103"__bool__ - Handles with an open object return true, otherwise false.\n"
104- "__int__ - Converting a handle to an integer returns the Win32 handle.\n"
105- "rich comparison - Handle objects are compared using the handle value." );
104+ "__int__ - Converting a handle to an integer returns the Win32 handle." );
106105
107106
108107
You can’t perform that action at this time.
0 commit comments