mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix type in python API docs
This commit is contained in:
parent
4f7af4e429
commit
b64a9c3d6d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user