From 4498e992a2b082917a6b6cc855ed1e38cf905867 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 21 Nov 2011 23:17:39 -0800 Subject: Add more stanzabase docs --- sleekxmpp/xmlstream/stanzabase.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sleekxmpp/xmlstream') diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py index 3c5cf8df..2af5ec3c 100644 --- a/sleekxmpp/xmlstream/stanzabase.py +++ b/sleekxmpp/xmlstream/stanzabase.py @@ -140,7 +140,7 @@ class ElementBase(object): >>> message['custom']['custom'] # Must use all interfaces 'bar' - If the plugin sets the value is_extension = True, then both setting + If the plugin sets :attr:`is_extension` to ``True``, then both setting and getting an interface value that is the same as the plugin's plugin_attrib value will work, as so:: @@ -1087,12 +1087,12 @@ class ElementBase(object): class StanzaBase(ElementBase): """ - StanzaBase provides the foundation for all other stanza objects used by - SleekXMPP, and defines a basic set of interfaces common to nearly - all stanzas. These interfaces are the 'id', 'type', 'to', and 'from' - attributes. An additional interface, 'payload', is available to access - the XML contents of the stanza. Most stanza objects will provided more - specific interfaces, however. + StanzaBase provides the foundation for all other stanza objects used + by SleekXMPP, and defines a basic set of interfaces common to nearly + all stanzas. These interfaces are the ``'id'``, ``'type'``, ``'to'``, + and ``'from'`` attributes. An additional interface, ``'payload'``, is + available to access the XML contents of the stanza. Most stanza objects + will provided more specific interfaces, however. **Stanza Interfaces:** -- cgit v1.2.3