diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-07-13 09:27:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 09:27:31 +0200 |
commit | 4c8b6e9d907adc92617053367213c65a87c1cfe9 (patch) | |
tree | 1d2dee248b36114fc09309e6952137023032a895 | |
parent | edb32f9798b441b96356a2d092d8e9aa4dc7e1fa (diff) | |
parent | c0fe3cf155ad03545b852c82a902a0cc905dd118 (diff) | |
download | profani-tty-4c8b6e9d907adc92617053367213c65a87c1cfe9.tar.gz |
Merge pull request #1577 from raspbeguy/python-api-doc
Fix examples in python API doc. Seems API was changed in 2016 https://github.com/profanity-im/profanity/commit/4f7af4e429612167c8c4242a2096e001a43a2318 and documentation wasn't adapted.
-rw-r--r-- | apidocs/python/src/prof.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apidocs/python/src/prof.py b/apidocs/python/src/prof.py index 1b926b36..96ee4912 100644 --- a/apidocs/python/src/prof.py +++ b/apidocs/python/src/prof.py @@ -442,7 +442,7 @@ def settings_boolean_get(group, key, default): Example: :: - prof.settings_get_boolean("myplugin", "notify", False) + prof.settings_boolean_get("myplugin", "notify", False) """ pass @@ -460,7 +460,7 @@ def settings_boolean_set(group, key, value): Example: :: - prof.settings_set_boolean("myplugin", "activate", True) + prof.settings_boolean_set("myplugin", "activate", True) """ pass @@ -478,7 +478,7 @@ def settings_string_get(group, key, default): Example: :: - prof.settings_get_string("myplugin", "prefix", "prefix-->") + prof.settings_string_get("myplugin", "prefix", "prefix-->") """ pass @@ -496,7 +496,7 @@ def settings_string_set(group, key, value): Example: :: - prof.settings_set_string("myplugin", "prefix", "myplugin, ") + prof.settings_string_set("myplugin", "prefix", "myplugin, ") """ pass @@ -515,7 +515,7 @@ def settings_string_list_get(group, key): Example: :: - prof.settings_get_string_list("someplugin", "somelist") + prof.settings_string_list_get("someplugin", "somelist") """ pass @@ -572,7 +572,7 @@ def settings_string_list_clear(group, key): Example: :: - prof.settings_string_list_remove_all("someplugin", "somelist") + prof.settings_string_list_clear("someplugin", "somelist") """ pass @@ -590,7 +590,7 @@ def settings_int_get(group, key, default): Example: :: - prof.settings_get_int("myplugin", "timeout", 10) + prof.settings_int_get("myplugin", "timeout", 10) """ pass @@ -608,7 +608,7 @@ def settings_int_set(group, key, value): Example: :: - prof.settings_set_int("myplugin", "timeout", 100) + prof.settings_int_set("myplugin", "timeout", 100) """ pass |