Clarify ElementBase documentation.
This commit is contained in:
@@ -54,6 +54,11 @@ class ElementBase(object):
|
||||
|
||||
>>> message['to'] = "user@example.com"
|
||||
>>> message['body'] = "Hi!"
|
||||
>>> message['body']
|
||||
"Hi!"
|
||||
>>> del message['body']
|
||||
>>> message['body']
|
||||
""
|
||||
|
||||
The interface values map to either custom access methods, stanza
|
||||
XML attributes, or (if the interface is also in sub_interfaces) the
|
||||
|
||||
Reference in New Issue
Block a user