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 @@ -771,9 +771,6 @@ Handle objects provide semantics for :meth:`~object.__bool__` -- thus ::
771771will print ``Yes `` if the handle is currently valid (has not been closed or
772772detached).
773773
774- The object also support comparison semantics, so handle objects will compare
775- true if they both reference the same underlying Windows handle value.
776-
777774Handle objects can be converted to an integer (e.g., using the built-in
778775:func: `int ` function), in which case the underlying Windows handle value is
779776returned. You can also use the :meth: `~PyHKEY.Detach ` method to return the
Original file line number Diff line number Diff line change @@ -106,8 +106,7 @@ PyDoc_STRVAR(PyHKEY_doc,
106106"\n"
107107"Operations:\n"
108108"__bool__ - Handles with an open object return true, otherwise false.\n"
109- "__int__ - Converting a handle to an integer returns the Win32 handle.\n"
110- "rich comparison - Handle objects are compared using the handle value." );
109+ "__int__ - Converting a handle to an integer returns the Win32 handle." );
111110
112111
113112
You can’t perform that action at this time.
0 commit comments