summaryrefslogtreecommitdiff
path: root/docs/api/xmlstream/xmlstream.rst
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-01-17 23:03:48 -0800
committerLance Stout <lancestout@gmail.com>2012-01-17 23:03:48 -0800
commit86d8736dccd698b55ab9ddffe57326bad8851319 (patch)
treecc4043733c96d486d8811987c85151a842bb203b /docs/api/xmlstream/xmlstream.rst
parent2923f5656150448e10f6f3a58a63470a987d47e1 (diff)
downloadslixmpp-86d8736dccd698b55ab9ddffe57326bad8851319.tar.gz
slixmpp-86d8736dccd698b55ab9ddffe57326bad8851319.tar.bz2
slixmpp-86d8736dccd698b55ab9ddffe57326bad8851319.tar.xz
slixmpp-86d8736dccd698b55ab9ddffe57326bad8851319.zip
Hash JIDs based on full JID string.
This makes JID objects equivalent to strings in dictionaries, etc. >>> j = JID('foo@example.com') >>> s = 'foo@example.com' >>> d = {j: 'yay'} >>> d[j] 'yay' >>> d[s] 'yay' >>> d[s] = 'yay!!' >>> d[j] 'yay!!'
Diffstat (limited to 'docs/api/xmlstream/xmlstream.rst')
0 files changed, 0 insertions, 0 deletions