11.22.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:

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

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

61 accesses since 13 May 2009, HTML cache rendered at 20050330:0216