Python Library Reference
Previous: Up: 18.24 xmlrpclib Next:


18.24.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.


Python Library Reference
Previous: Up: 18.24 xmlrpclib Next:

Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /