summaryrefslogtreecommitdiff
path: root/doc/sr
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-09-29 21:56:49 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-09-30 07:53:37 +0200
commit6bb4bed8bb0ba447e93db6bfe90abac93caa9823 (patch)
treef30d88771ac6ad8dca3ffcb2cafc4fb3cb6df113 /doc/sr
parent92cdcee8f64fd74cc1242c0fe23ae2c8b1e4aef2 (diff)
downloadweechat-6bb4bed8bb0ba447e93db6bfe90abac93caa9823.zip
doc/api: Fix config_new_option types for non English docs
Only English was changed in commit 197a7a01e.
Diffstat (limited to 'doc/sr')
-rw-r--r--doc/sr/weechat_plugin_api.sr.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc
index ae92d6453..194aeaa3c 100644
--- a/doc/sr/weechat_plugin_api.sr.adoc
+++ b/doc/sr/weechat_plugin_api.sr.adoc
@@ -6380,7 +6380,7 @@ struct t_config_option *option5 =
# прототип
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
- default_value: str, value: str, null_value_allowed: int,
+ default_value: str | None, value: str | None, null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...