mirror of
https://github.com/correl/SleekXMPP.git
synced 2025-02-25 19:10:36 +00:00
Clarify ElementBase documentation.
This commit is contained in:
parent
e16b37d2be
commit
5c59f5baca
1 changed files with 6 additions and 1 deletions
|
@ -54,6 +54,11 @@ class ElementBase(object):
|
||||||
|
|
||||||
>>> message['to'] = "user@example.com"
|
>>> message['to'] = "user@example.com"
|
||||||
>>> message['body'] = "Hi!"
|
>>> message['body'] = "Hi!"
|
||||||
|
>>> message['body']
|
||||||
|
"Hi!"
|
||||||
|
>>> del message['body']
|
||||||
|
>>> message['body']
|
||||||
|
""
|
||||||
|
|
||||||
The interface values map to either custom access methods, stanza
|
The interface values map to either custom access methods, stanza
|
||||||
XML attributes, or (if the interface is also in sub_interfaces) the
|
XML attributes, or (if the interface is also in sub_interfaces) the
|
||||||
|
|
Loading…
Add table
Reference in a new issue