Skip to content

Commit a861bb6

Browse files
Exireldgw
andauthored
Apply suggestions from code review
Co-authored-by: dgw <[email protected]>
1 parent fce6637 commit a861bb6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sopel/plugins/rules.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def has_url_callback(self, label, plugin=None):
318318
def get_all_commands(self):
319319
"""Retrieve all the registered commands, by plugin.
320320
321-
:return: a list of 2-value tuple as ``(key, value)``, where each key
321+
:return: a list of 2-value tuples as ``(key, value)``, where each key
322322
is a plugin name, and the value is a ``dict`` of its
323323
:term:`commands <Command>`
324324
"""
@@ -328,7 +328,7 @@ def get_all_commands(self):
328328
def get_all_nick_commands(self):
329329
"""Retrieve all the registered nick commands, by plugin.
330330
331-
:return: a list of 2-value tuple as ``(key, value)``, where each key
331+
:return: a list of 2-value tuples as ``(key, value)``, where each key
332332
is a plugin name, and the value is a ``dict`` of its
333333
:term:`nick commands <Nick command>`
334334
"""
@@ -338,7 +338,7 @@ def get_all_nick_commands(self):
338338
def get_all_action_commands(self):
339339
"""Retrieve all the registered action commands, by plugin.
340340
341-
:return: a list of 2-value tuple as ``(key, value)``, where each key
341+
:return: a list of 2-value tuples as ``(key, value)``, where each key
342342
is a plugin name, and the value is a ``dict`` of its
343343
:term:`action commands <Action command>`
344344
"""
@@ -348,7 +348,7 @@ def get_all_action_commands(self):
348348
def get_all_generic_rules(self):
349349
"""Retrieve all the registered generic rules, by plugin.
350350
351-
:return: a list of 2-value tuple as ``(key, value)``, where each key
351+
:return: a list of 2-value tuples as ``(key, value)``, where each key
352352
is a plugin name, and the value is a ``list`` of its
353353
:term:`generic rules <Generic rule>`
354354
"""
@@ -358,7 +358,7 @@ def get_all_generic_rules(self):
358358
def get_all_url_callbacks(self):
359359
"""Retrieve all the registered URL callbacks, by plugin.
360360
361-
:return: a list of 2-value tuple as ``(key, value)``, where each key
361+
:return: a list of 2-value tuples as ``(key, value)``, where each key
362362
is a plugin name, and the value is a ``list`` of its
363363
:term:`URL callbacks <URL callback>`
364364
"""

0 commit comments

Comments
 (0)