summaryrefslogtreecommitdiff
path: root/docs/create_plugin.rst
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:35:54 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:37:46 +0100
commitd008988843f61efb57cb06a30b8a47a357e248a4 (patch)
treee1bd486fd53639561f5af179451f846e371b570c /docs/create_plugin.rst
parentdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff)
downloadslixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.tar.gz
slixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.tar.bz2
slixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.tar.xz
slixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.zip
Manual cleanup of the remaining set([…]) and set((…)).
Diffstat (limited to 'docs/create_plugin.rst')
-rw-r--r--docs/create_plugin.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/create_plugin.rst b/docs/create_plugin.rst
index 9bfb053f..437374c7 100644
--- a/docs/create_plugin.rst
+++ b/docs/create_plugin.rst
@@ -163,7 +163,7 @@ behaviour:
namespace = 'jabber:iq:register'
name = 'query'
plugin_attrib = 'register'
- interfaces = set(('username', 'password', 'registered', 'remove'))
+ interfaces = {'username', 'password', 'registered', 'remove'}
sub_interfaces = interfaces
def getRegistered(self):
@@ -535,10 +535,10 @@ with some additional registration fields implemented.
namespace = 'jabber:iq:register'
name = 'query'
plugin_attrib = 'register'
- interfaces = set(('username', 'password', 'email', 'nick', 'name',
- 'first', 'last', 'address', 'city', 'state', 'zip',
- 'phone', 'url', 'date', 'misc', 'text', 'key',
- 'registered', 'remove', 'instructions'))
+ interfaces = {'username', 'password', 'email', 'nick', 'name',
+ 'first', 'last', 'address', 'city', 'state', 'zip',
+ 'phone', 'url', 'date', 'misc', 'text', 'key',
+ 'registered', 'remove', 'instructions'}
sub_interfaces = interfaces
def getRegistered(self):