11.20.2 Boolean Objects

This class may be initialized from any Python value; the instance returned depends only on its truth value. It supports various Python operators through __cmp__(), __repr__(), __int__(), and __nonzero__() methods, all implemented in the obvious ways.

It also has the following method, supported mainly for internal use by the unmarshalling code:

Write the XML-RPC encoding of this Boolean item to the out stream object.

See About this document... for information on suggesting changes.