Website hosting service by

 Back to Index

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:

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



2002-2004 Webhosting Service


Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to


Cheap domain name registration - Register domain name and domain transfer from $5.95/year only

Domain registration - Domain registration, domain name transfer and domain search services