(value, _truefalse=(False, True))
return _truefalse[operator.truth(value)]
Convert any Python value to XML-RPC 'boolean'.
Convert any Python value to XML-RPC 'boolean'.
Convert any Python value to XML - RPC boolean .
def boolean(value, _truefalse=(False, True)):
    """Convert any Python value to XML-RPC 'boolean'."""
    return _truefalse[operator.truth(value)]
def boolean ( value , _truefalse = ( False , True ) ) : return _truefalse [ operator . truth ( value ) ]