Fix type in python API docs
This commit is contained in:
@@ -110,7 +110,7 @@ def register_command(name, min_args, max_args, synopsis, description, arguments,
|
|||||||
def register_timed(callback, interval):
|
def register_timed(callback, interval):
|
||||||
"""Register a function that Profanity will call periodically.
|
"""Register a function that Profanity will call periodically.
|
||||||
|
|
||||||
:param callback: the funciton to call
|
:param callback: the function to call
|
||||||
:param interval: the time between each call to the function, in seconds
|
:param interval: the time between each call to the function, in seconds
|
||||||
:type callback: function
|
:type callback: function
|
||||||
:type interval: int
|
:type interval: int
|
||||||
@@ -594,4 +594,4 @@ def disco_add_feature(feature):
|
|||||||
::
|
::
|
||||||
prof.disco_add_feature("urn:xmpp:omemo:0:devicelist+notify")
|
prof.disco_add_feature("urn:xmpp:omemo:0:devicelist+notify")
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user