Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.