summaryrefslogtreecommitdiff
path: root/docs
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:35:54 +0100
commitf4683546d942f8e7ce3e31d40a8c51a1b73ebda5 (patch)
tree9239608ac4ab572489d31065c00ff9aa663bb7f9 /docs
parentdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff)
downloadslixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.gz
slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.bz2
slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.xz
slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.zip
Manual cleanup of the remaining set([…]) and set((…)).compiler
Diffstat (limited to 'docs')
-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):