diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/create_plugin.rst | 10 |
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): |