1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

doc/api: fix Python example of function command_options

This commit is contained in:
Sébastien Helleu
2024-10-08 07:12:55 +02:00
parent 8223da0fe6
commit ffd7cc90fb
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2294,7 +2294,7 @@ def command_options(buffer: str, command: str, options: Dict[str, str]) -> int:
::
# example: allow any command except /exec
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
"""
...